diff --git a/Cargo.lock b/Cargo.lock index 0d2c05c..c36fb7c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", + "http 0.2.11", "http-body", "hyper", "itoa", @@ -146,7 +146,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "rustversion", @@ -336,7 +336,7 @@ dependencies = [ "axum", "clap", "env_logger", - "http", + "http 1.0.0", "log", "redis", "serde", @@ -435,7 +435,7 @@ dependencies = [ "base64", "bytes", "headers-core", - "http", + "http 0.2.11", "httpdate", "mime", "sha1", @@ -447,7 +447,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.11", ] [[package]] @@ -473,6 +473,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" @@ -480,7 +491,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -512,7 +523,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", diff --git a/Cargo.toml b/Cargo.toml index ada15e8..a745224 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -http = "0.2" +http = "1.0" serde = { version = "1.0", features = ["serde_derive"] } serde_json = "1.0" tokio = { version = "1", features = ["full"] }