diff --git a/Cargo.lock b/Cargo.lock index 4fa7dd3..f3b15c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2157,7 +2157,7 @@ dependencies = [ "shared", "tokio", "tower", - "tower-http", + "tower-http 0.7.0", "tracing", "urlencoding", "utoipa", @@ -2782,7 +2782,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -2824,7 +2824,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -3642,8 +3642,28 @@ dependencies = [ "tower", "tower-layer", "tower-service", - "tracing", "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", + "http", + "http-body", + "percent-encoding", + "pin-project-lite", + "tokio", + "tokio-util", + "tower-layer", + "tower-service", + "tracing", "uuid", ] diff --git a/apps/lotus-api/Cargo.toml b/apps/lotus-api/Cargo.toml index 2736064..6edcc2c 100644 --- a/apps/lotus-api/Cargo.toml +++ b/apps/lotus-api/Cargo.toml @@ -28,7 +28,7 @@ tokio = { workspace = true, features = [ "signal", "sync" ] } -tower-http = { version = "0.6", features = [ +tower-http = { version = "0.7", features = [ "compression-full", "cors", "request-id",