diff --git a/Cargo.lock b/Cargo.lock index 43549935..a3da0fd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1568,7 +1568,7 @@ dependencies = [ "serde_urlencoded", "time", "tokio", - "tower-http", + "tower-http 0.7.0", "tracing", "x509-parser", ] @@ -3689,7 +3689,7 @@ dependencies = [ "tokio", "tokio-util", "tower", - "tower-http", + "tower-http 0.6.11", "tracing", ] @@ -4584,7 +4584,7 @@ dependencies = [ "serde_json", "tokio", "tokio-postgres", - "tower-http", + "tower-http 0.7.0", "tracing", "utoipa", "utoipa-axum", @@ -4684,7 +4684,7 @@ dependencies = [ "tera", "timesimp", "tokio", - "tower-http", + "tower-http 0.7.0", "tracing", "utoipa", "utoipa-axum", @@ -5014,7 +5014,7 @@ dependencies = [ "tokio-rustls 0.26.4", "tokio-util", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -6321,6 +6321,31 @@ dependencies = [ "http 1.4.2", "http-body 1.0.1", "http-body-util", + "mime", + "pin-project-lite", + "tokio", + "tokio-util", + "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", + "futures-util", + "http 1.4.2", + "http-body 1.0.1", + "http-body-util", "http-range-header", "httpdate", "mime", @@ -6329,11 +6354,9 @@ dependencies = [ "pin-project-lite", "tokio", "tokio-util", - "tower", "tower-layer", "tower-service", "tracing", - "url", ] [[package]] diff --git a/crates/commons-servers/Cargo.toml b/crates/commons-servers/Cargo.toml index b2acb72a..83f2851a 100644 --- a/crates/commons-servers/Cargo.toml +++ b/crates/commons-servers/Cargo.toml @@ -41,7 +41,7 @@ serde_json = "1.0.150" serde_urlencoded = "0.7.1" time = "0.3.47" tokio = { workspace = true, features = ["macros", "net", "rt-multi-thread", "sync", "time"] } -tower-http = { version = "0.6.11", features = [ +tower-http = { version = "0.7.0", features = [ "compression-full", "decompression-full", "fs", diff --git a/crates/private-server/Cargo.toml b/crates/private-server/Cargo.toml index 04a03630..c16e4ff4 100644 --- a/crates/private-server/Cargo.toml +++ b/crates/private-server/Cargo.toml @@ -38,7 +38,7 @@ serde = { workspace = true, features = ["derive", "rc"] } serde_json = "1.0.150" tokio = { workspace = true, features = ["macros", "net", "rt-multi-thread", "signal", "time"] } tokio-postgres = { version = "0.7.17", features = ["with-jiff-0_2", "with-serde_json-1", "with-uuid-1"] } -tower-http = { version = "0.6.11", features = ["fs"] } +tower-http = { version = "0.7.0", features = ["fs"] } tracing.workspace = true utoipa.workspace = true utoipa-axum.workspace = true diff --git a/crates/public-server/Cargo.toml b/crates/public-server/Cargo.toml index 0a7c11df..4a513452 100644 --- a/crates/public-server/Cargo.toml +++ b/crates/public-server/Cargo.toml @@ -44,7 +44,7 @@ serde = { workspace = true, features = ["derive"] } tera = { workspace = true, optional = true } tokio.workspace = true timesimp = { version = "1.0.0", optional = true } -tower-http = { version = "0.6.11", optional = true, features = [ +tower-http = { version = "0.7.0", optional = true, features = [ "compression-full", "fs", "trace",