From 250ce32c2867204a4fdeadc8b1e612371111208d Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 23 Jan 2021 13:59:40 -0800 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 91fcfd8..5d53e83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"