diff --git a/Cargo.lock b/Cargo.lock index eaa734b..5e4cd03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,7 +639,7 @@ dependencies = [ "tikv-jemallocator", "tokio", "tower 0.5.3", - "tower-http", + "tower-http 0.7.0", "tracing", "tracing-subscriber", "zip", @@ -3329,7 +3329,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tower 0.5.3", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -4332,21 +4332,37 @@ name = "tower-http" version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower 0.5.3", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-http" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233" dependencies = [ "async-compression", "bitflags", "bytes", "futures-core", - "futures-util", "http", "http-body", + "percent-encoding", "pin-project-lite", "tokio", "tokio-util", - "tower 0.5.3", "tower-layer", "tower-service", - "url", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e7f20b1..b72eb48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ tantivy = "0.26" tantivy-jieba = "0.20.0" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tower = "0.5.3" -tower-http = { version = "0.6.11", features = ["compression-zstd", "timeout"] } +tower-http = { version = "0.7.0", features = ["compression-zstd", "timeout"] } tracing = { version = "0.1", features = [ "release_max_level_info", "max_level_info",