diff --git a/Cargo.lock b/Cargo.lock index 4702b0a..01b1c2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -664,7 +664,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", "indexmap", "slab", "tokio", @@ -725,6 +725,16 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" +dependencies = [ + "bytes", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -732,10 +742,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.12", "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.4.0", +] + [[package]] name = "http-cache" version = "0.1.0" @@ -747,7 +767,7 @@ dependencies = [ "eyre", "futures", "hex", - "http", + "http 0.2.12", "hyper", "hyper-rustls", "opendal", @@ -769,12 +789,6 @@ dependencies = [ "url", ] -[[package]] -name = "http-range-header" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" - [[package]] name = "httparse" version = "1.8.0" @@ -798,8 +812,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.12", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -818,7 +832,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", + "http 0.2.12", "hyper", "log", "rustls", @@ -1132,7 +1146,7 @@ dependencies = [ "flagset", "futures", "getrandom", - "http", + "http 0.2.12", "log", "md-5", "once_cell", @@ -1408,7 +1422,7 @@ dependencies = [ "hex", "hmac", "home", - "http", + "http 0.2.12", "jsonwebtoken", "log", "percent-encoding", @@ -1433,8 +1447,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.12", + "http-body 0.4.5", "hyper", "hyper-rustls", "ipnet", @@ -2032,17 +2046,14 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" dependencies = [ "bitflags 2.4.1", "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", + "http 1.4.0", + "http-body 1.0.1", "pin-project-lite", "tower-layer", "tower-service", diff --git a/Cargo.toml b/Cargo.toml index 1f266a9..23b04a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ hyper-rustls = { version = "0.24.2", features = ["http2"] } tokio-util = { version = "0.7.11", features = ["compat"] } tokio = { version = "1.37", features = ["rt-multi-thread", "macros"] } tower = { version = "0.5.0", features = ["make", "util"] } -tower-http = { version = "0.4.4", features = ["trace"] } +tower-http = { version = "0.6.0", features = ["trace"] } tracing = "0.1.40" tracing-error = "0.2.0" tracing-subscriber = { version = "0.3.18", features = ["json", "env-filter"] }