Skip to content

Commit 250ce32

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 faf1b4a commit 250ce32

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
@@ -35,7 +35,7 @@ rustls = ["async-tls"]
3535
[dependencies]
3636
async-trait = "0.1.37"
3737
dashmap = "4.0.2"
38-
http-types = "2.3.0"
38+
http-types = { version = "2.10.0", default-features = false, features = ["fs"] }
3939
log = "0.4.7"
4040
cfg-if = "1.0.0"
4141

0 commit comments

Comments
 (0)