diff --git a/Cargo.lock b/Cargo.lock index 80fb77c..b674f64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1905,7 +1905,7 @@ dependencies = [ "thiserror 2.0.18", "tokio", "tower", - "tower-http", + "tower-http 0.7.0", "tracing", "tracing-subscriber", "unicode-normalization", @@ -2641,7 +2641,7 @@ dependencies = [ "tokio-native-tls", "tokio-rustls", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -2822,7 +2822,7 @@ dependencies = [ "tempfile", "tokio", "tokio-util", - "tower-http", + "tower-http 0.7.0", "tracing", "tracing-appender", "tracing-opentelemetry", @@ -3538,10 +3538,26 @@ 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 = [ + "bitflags", + "bytes", + "http", + "http-body", + "percent-encoding", + "pin-project-lite", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower-layer" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index 7b5eb79..c365000 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ tokio = { version = "1", features = ["full"] } # Web axum = "0.8" tower = "0.5" -tower-http = { version = "0.6", features = ["cors", "trace"] } +tower-http = { version = "0.7", features = ["cors", "trace"] } utoipa = { version = "5", features = ["axum_extras"] } utoipa-swagger-ui = { version = "9", features = ["axum"] } # Serialization diff --git a/crates/nzb-web/Cargo.toml b/crates/nzb-web/Cargo.toml index c305033..b29ffd9 100644 --- a/crates/nzb-web/Cargo.toml +++ b/crates/nzb-web/Cargo.toml @@ -17,7 +17,7 @@ nzb-postproc = { version = "0.2.6", path = "../nzb-postproc" } nzb-dispatch = { version = "0.2.6", path = "../nzb-dispatch" } axum = { version = "0.8", features = ["multipart"] } tower = "0.5" -tower-http = { version = "0.6", features = ["cors", "trace"] } +tower-http = { version = "0.7", features = ["cors", "trace"] } utoipa = { version = "5", features = ["axum_extras"] } utoipa-swagger-ui = { version = "9", features = ["axum"] } http = "1"