Skip to content

Commit dd8a25f

Browse files
update to latest http-types
1 parent 8eb1be7 commit dd8a25f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ curl_client = ["isahc", "async-std"]
2424
wasm_client = ["js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures"]
2525

2626
[dependencies]
27-
futures = { version = "0.3.1", features = ["compat", "io-compat"] }
28-
http-types = "2.0.0"
27+
futures = { version = "0.3.1" }
28+
http-types = "2.0.1"
2929
log = "0.4.7"
3030

3131
# h1-client

src/h1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ mod tests {
119119
task::sleep(Duration::from_millis(100)).await;
120120
let request =
121121
build_test_request(Url::parse(&format!("http://localhost:{}/", port)).unwrap());
122-
let response: Response = H1Client::new().send(request).await?;
122+
let mut response: Response = H1Client::new().send(request).await?;
123123
assert_eq!(response.body_string().await.unwrap(), "hello");
124124
Ok(())
125125
});

src/isahc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ mod tests {
114114
task::sleep(Duration::from_millis(100)).await;
115115
let request =
116116
build_test_request(Url::parse(&format!("http://localhost:{}/", port)).unwrap());
117-
let response: Response = IsahcClient::new().send(request).await?;
117+
let mut response: Response = IsahcClient::new().send(request).await?;
118118
assert_eq!(response.body_string().await.unwrap(), "hello");
119119
Ok(())
120120
});

0 commit comments

Comments
 (0)