diff --git a/Cargo.lock b/Cargo.lock index 5c4d7d5..1e7041a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", + "http 0.2.11", "http-body", "hyper", "itoa", @@ -103,7 +103,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "rustversion", @@ -122,7 +122,7 @@ dependencies = [ "bytes", "cookie", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "pin-project-lite", @@ -476,7 +476,7 @@ dependencies = [ "bitflags", "bytes", "headers-core", - "http", + "http 0.2.11", "httpdate", "mime", "sha1", @@ -488,7 +488,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.11", ] [[package]] @@ -502,9 +502,20 @@ dependencies = [ [[package]] name = "http" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" dependencies = [ "bytes", "fnv", @@ -518,7 +529,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -544,7 +555,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -1120,7 +1131,7 @@ dependencies = [ "axum-extra", "chrono", "futures", - "http", + "http 1.0.0", "http-body", "hyper", "rand", diff --git a/Cargo.toml b/Cargo.toml index f1b6e24..1721470 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,5 +36,5 @@ serde = {version = "1.0.190", features = ["derive"]} serde_json = "1.0.107" tokio = {version = "1.33.0", features = ["macros", "rt-multi-thread"]} hyper = "0.14.26" -http = "0.2.9" +http = "1.0.0" typed-session = {workspace = true, features = ["memory-store"]}