Skip to content

Commit

Permalink
Reduce the features of http-types we depend on
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joshtriplett committed Feb 17, 2021
1 parent faf1b4a commit 250ce32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ rustls = ["async-tls"]
[dependencies]
async-trait = "0.1.37"
dashmap = "4.0.2"
http-types = "2.3.0"
http-types = { version = "2.10.0", default-features = false, features = ["fs"] }
log = "0.4.7"
cfg-if = "1.0.0"

Expand Down

0 comments on commit 250ce32

Please sign in to comment.