diff --git a/Cargo.lock b/Cargo.lock index 47b25c6..7bba4f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -41,12 +41,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acee9fd5073ab6b045a275b3e709c163dd36c90685219cb21804a147b58dba43" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.2.9", "bitflags 1.3.2", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "hyper", "itoa", "matchit", @@ -74,23 +74,43 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "mime", "tower-layer", "tower-service", ] +[[package]] +name = "axum-core" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0ddc355eab88f4955090a823715df47acf0b7660aab7a69ad5ce6301ee3b73" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-xml" version = "0.2.0" dependencies = [ "async-trait", "axum", - "axum-core", + "axum-core 0.4.0", "bytes", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "mime", "quick-xml", "reqwest", @@ -280,7 +300,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.10", "indexmap", "slab", "tokio", @@ -305,6 +325,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" @@ -312,7 +343,30 @@ 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-body-util" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" +dependencies = [ + "bytes", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", "pin-project-lite", ] @@ -345,8 +399,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -667,8 +721,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.10", + "http-body 0.4.5", "hyper", "hyper-tls", "ipnet", @@ -699,6 +753,12 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +[[package]] +name = "rustversion" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" + [[package]] name = "ryu" version = "1.0.9" @@ -982,8 +1042,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 2d3f259..3e9cdab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ encoding = ["quick-xml/encoding"] [dependencies] async-trait = "0.1" -axum-core = "0.2" +axum-core = "0.4" bytes = "1.5" http = "0.2" http-body = "0.4"