summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-27 17:59:57 +0100
committerGitHub <noreply@github.com>2023-12-27 11:59:57 -0500
commitc2414db1f68d27db8ca6f192f0ff877f1394164c (patch)
tree528da9796f400557204bfdb8e4d44d64173036ce /Cargo.toml
parent33acd437f52b418a8413a302dd8902abad2eabec (diff)
refactor: simplify hyper, http, h2 deps (#21715)
Main change is that: - "hyper" has been renamed to "hyper_v014" to signal that it's legacy - "hyper1" has been renamed to "hyper" and should be the default
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 5 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 12bdd30c6..4d00b1c3f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -103,13 +103,14 @@ fs3 = "0.5.0"
futures = "0.3.21"
glob = "0.3.1"
hex = "0.4"
-http = "0.2.9"
-h2 = { version = "0.3.17", features = ["unstable"] }
+http_v02 = { package = "http", version = "0.2.9" }
+http = "1.0"
+h2 = "0.4"
httparse = "1.8.0"
hyper-util = { version = "=0.1.2", features = ["tokio", "server", "server-auto"] }
http-body-util = "0.1"
-hyper = { version = "0.14.26", features = ["runtime", "http1"] }
-hyper1 = { package = "hyper", version = "=1.1.0", features = ["full"] }
+hyper_v014 = { package = "hyper", version = "0.14.26", features = ["runtime", "http1"] }
+hyper = { version = "=1.1.0", features = ["full"] }
indexmap = { version = "2", features = ["serde"] }
libc = "0.2.126"
libz-sys = { version = "1.1", default-features = false }