Skip to content

Commit 8e2bd38

Browse files
committed
Reduce the features of http-types we depend on
http-client doesn't need the cookie feature. http-client also doesn't *directly* use the fs feature, but it re-exports http_types::Body and people might be relying on Body::from_file, so depend on the fs feature for compatibility.
1 parent a9928a0 commit 8e2bd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ hyper_client = ["hyper", "hyper-tls", "http-types/hyperium_http", "futures-util"
3131

3232
[dependencies]
3333
async-trait = "0.1.37"
34-
http-types = "2.3.0"
34+
http-types = { version = "2.10.0", default-features = false, features = ["fs"] }
3535
log = "0.4.7"
3636

3737
# h1_client

0 commit comments

Comments
 (0)