Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump dependency: async-tls, rustls_crate, async-h1, async-native-tls,… #89

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -42,15 +42,15 @@ log = "0.4.7"
cfg-if = "1.0.0"

# h1_client
async-h1 = { version = "2.0.0", optional = true }
async-h1 = { version = "2.3.2", optional = true }
async-std = { version = "1.6.0", default-features = false, optional = true }
async-native-tls = { version = "0.3.1", optional = true }
async-native-tls = { version = "0.3.3", optional = true }
Copy link
Member

@Fishrock123 Fishrock123 Jun 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be kept open t o .x.x versions where possible

deadpool = { version = "0.7.0", optional = true }
futures = { version = "0.3.8", optional = true }

# h1_client_rustls
async-tls = { version = "0.10.0", optional = true }
rustls_crate = { version = "0.18", optional = true, package = "rustls" }
async-tls = { version = "0.11.0", optional = true }
rustls_crate = { version = "0.19.1", optional = true, package = "rustls" }

# hyper_client
hyper = { version = "0.13.6", features = ["tcp"], optional = true }
@@ -60,7 +60,7 @@ tokio = { version = "0.2", features = ["time"], optional = true }

# curl_client
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
isahc = { version = "0.9", optional = true, default-features = false, features = ["http2"] }
isahc = { version = "1.4.0", optional = true, default-features = false, features = ["http2"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is semver-major


# wasm_client
[target.'cfg(target_arch = "wasm32")'.dependencies]
4 changes: 2 additions & 2 deletions src/isahc.rs
Original file line number Diff line number Diff line change
@@ -53,8 +53,8 @@ impl HttpClient for IsahcClient {

let body = req.take_body();
let body = match body.len() {
Some(len) => isahc::Body::from_reader_sized(body, len as u64),
None => isahc::Body::from_reader(body),
Some(len) => isahc::AsyncBody::from_reader_sized(body, len as u64),
None => isahc::AsyncBody::from_reader(body),
};

let request = builder.body(body).unwrap();