diff --git a/Cargo.lock b/Cargo.lock index a497bf0..ac71ca1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,8 +45,8 @@ dependencies = [ "bitflags", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "hyper", "itoa", "matchit", @@ -74,8 +74,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "mime", "tower-layer", "tower-service", @@ -89,8 +89,8 @@ dependencies = [ "axum", "axum-core", "bytes", - "http", - "http-body", + "http 0.2.10", + "http-body 1.0.0", "mime", "quick-xml", "reqwest", @@ -274,7 +274,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.10", "indexmap", "slab", "tokio", @@ -299,6 +299,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" @@ -306,10 +317,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.10", "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.0.0", +] + [[package]] name = "http-range-header" version = "0.3.0" @@ -339,8 +360,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -661,8 +682,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "hyper", "hyper-tls", "ipnet", @@ -976,8 +997,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "http-range-header", "pin-project-lite", "tower", diff --git a/Cargo.toml b/Cargo.toml index 5292c46..1d1774f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ async-trait = "0.1" axum-core = "0.2" bytes = "1.5" http = "0.2" -http-body = "0.4" +http-body = "1.0" mime = "0.3" quick-xml = { version = "0.26", features = ["serialize"] } serde = "1.0"