diff --git a/Cargo.lock b/Cargo.lock index bd3abb0..4c94360 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ "clap", "elf", "futures", - "http", + "http 1.0.0", "indicatif", "insta", "libc", @@ -628,7 +628,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap", "slab", "tokio", @@ -683,6 +683,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -690,7 +701,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -737,7 +748,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -1199,7 +1210,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-tls", diff --git a/Cargo.toml b/Cargo.toml index f8e6ea0..72ca4ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ bytes = "1.5" clap = {version="4.4", default-features=false, features=["derive", "std", "usage", "error-context", "help"]} elf = "0.7" futures = "0.3" -http = "0.2" +http = "1.0" snap = "1.1" thiserror = "1.0" libc = "0.2"