diff --git a/Cargo.lock b/Cargo.lock index 2b79c70..635adf3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3419,7 +3419,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -3457,7 +3457,7 @@ dependencies = [ "tokio-rustls", "tokio-util", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -4034,7 +4034,7 @@ dependencies = [ "tokio", "tokio-tungstenite 0.28.0", "tower", - "tower-http", + "tower-http 0.7.1", "tracing", "tracing-subscriber", ] @@ -4980,6 +4980,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" dependencies = [ "async-compression", + "bitflags 2.13.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "pin-project-lite", + "tokio", + "tokio-util", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-http" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" +dependencies = [ "bitflags 2.13.1", "bytes", "futures-core", @@ -4995,10 +5017,8 @@ dependencies = [ "pin-project-lite", "tokio", "tokio-util", - "tower", "tower-layer", "tower-service", - "url", ] [[package]] diff --git a/server/Cargo.toml b/server/Cargo.toml index 9d444bd..8fb1f4f 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -19,7 +19,7 @@ tokio = { workspace = true, features = ["signal"] } tracing.workspace = true tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] } axum = { version = "0.8", features = ["ws"] } -tower-http = { version = "0.6", features = ["fs", "set-header"] } +tower-http = { version = "0.7", features = ["fs", "set-header"] } # Connections served by hand (lib.rs), as axum does but with a deadline for a # request's head and a bound on how long stopping waits: the crates axum already brings in. hyper = { version = "1", features = ["server", "http1"] }