From 8c427bf314fba79f372e2c93d84a38bbe30a8a1d Mon Sep 17 00:00:00 2001 From: Nikhil Benesch Date: Thu, 24 Dec 2020 18:24:17 -0500 Subject: [PATCH 1/2] Don't enable http1 feature in hyper hyper has been fixed so that the "http1" feature is no longer necessary to get the various connection types required by this crate. --- Cargo.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f7af89a..c71ef9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,14 +10,12 @@ readme = "README.md" exclude = ["test/*"] [features] -# FIXME should not be turning on http1 by default: https://github.com/hyperium/hyper/issues/2376 -default = ["hyper/http1", "tcp"] - +default = ["tcp"] tcp = ["hyper/tcp"] [dependencies] http = "0.2" -hyper = { version = "0.14", default-features = false, features = ["client"] } +hyper = { git = "https://github.com/benesch/hyper.git", branch = "connectors-no-proto", default-features = false, features = ["client"] } linked_hash_set = "0.1" once_cell = "1.0" openssl = "0.10.32" From eb27a71417584e6beead1b36500faa0eff2ec3f0 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 29 Dec 2020 15:02:39 -0500 Subject: [PATCH 2/2] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c71ef9b..b7614de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ tcp = ["hyper/tcp"] [dependencies] http = "0.2" -hyper = { git = "https://github.com/benesch/hyper.git", branch = "connectors-no-proto", default-features = false, features = ["client"] } +hyper = { version = "0.14.2", default-features = false, features = ["client"] } linked_hash_set = "0.1" once_cell = "1.0" openssl = "0.10.32"