From d3dc8ad786c5d272c880207bfdee48ee29148361 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 10:57:41 +0000 Subject: [PATCH] deps: bump the axum group across 1 directory with 3 updates Bumps the axum group with 3 updates in the / directory: [axum](https://github.com/tokio-rs/axum), [tower](https://github.com/tower-rs/tower) and [tower-http](https://github.com/tower-rs/tower-http). Updates `axum` from 0.7.9 to 0.8.9 - [Release notes](https://github.com/tokio-rs/axum/releases) - [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.7.9...axum-v0.8.9) Updates `tower` from 0.4.13 to 0.5.2 - [Release notes](https://github.com/tower-rs/tower/releases) - [Commits](https://github.com/tower-rs/tower/compare/tower-0.4.13...tower-0.5.2) Updates `tower-http` from 0.5.2 to 0.6.7 - [Release notes](https://github.com/tower-rs/tower-http/releases) - [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.5.2...tower-http-0.6.7) --- updated-dependencies: - dependency-name: axum dependency-version: 0.8.9 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: axum - dependency-name: tower dependency-version: 0.5.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: axum - dependency-name: tower-http dependency-version: 0.6.7 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: axum ... Signed-off-by: dependabot[bot] --- Cargo.lock | 109 +++++++++++++++++++---------- examples/browser-webrtc/Cargo.toml | 6 +- examples/metrics/Cargo.toml | 2 +- interop-tests/Cargo.toml | 4 +- misc/server/Cargo.toml | 2 +- 5 files changed, 79 insertions(+), 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f86ab98f70a..5a06a2fe324 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -369,22 +369,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.4.5", "bytes", "futures-util", "http 1.3.1", "http-body", "http-body-util", - "hyper", - "hyper-util", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "percent-encoding", "pin-project-lite", "rustversion", "serde", + "sync_wrapper", + "tower 0.5.2", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" +dependencies = [ + "axum-core 0.5.6", + "bytes", + "form_urlencoded", + "futures-util", + "http 1.3.1", + "http-body", + "http-body-util", + "hyper", + "hyper-util", + "itoa", + "matchit 0.8.4", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "serde_core", "serde_json", "serde_path_to_error", "serde_urlencoded", @@ -414,6 +440,24 @@ dependencies = [ "sync_wrapper", "tower-layer", "tower-service", +] + +[[package]] +name = "axum-core" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" +dependencies = [ + "bytes", + "futures-core", + "http 1.3.1", + "http-body", + "http-body-util", + "mime", + "pin-project-lite", + "sync_wrapper", + "tower-layer", + "tower-service", "tracing", ] @@ -510,7 +554,7 @@ name = "browser-webrtc-example" version = "0.1.0" dependencies = [ "anyhow", - "axum", + "axum 0.8.9", "futures", "js-sys", "libp2p", @@ -521,8 +565,8 @@ dependencies = [ "rust-embed", "tokio", "tokio-util", - "tower 0.4.13", - "tower-http 0.5.2", + "tower 0.5.2", + "tower-http", "tracing", "tracing-subscriber", "tracing-wasm", @@ -2003,7 +2047,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.3", + "socket2 0.5.9", "system-configuration 0.6.1", "tokio", "tower-service", @@ -2277,7 +2321,7 @@ name = "interop-tests" version = "0.1.0" dependencies = [ "anyhow", - "axum", + "axum 0.8.9", "console_error_panic_hook", "futures", "futures-timer", @@ -2296,7 +2340,7 @@ dependencies = [ "serde_json", "thirtyfour", "tokio", - "tower-http 0.5.2", + "tower-http", "tracing", "tracing-subscriber", "wasm-bindgen", @@ -3158,7 +3202,7 @@ dependencies = [ name = "libp2p-server" version = "0.13.0" dependencies = [ - "axum", + "axum 0.8.9", "base64", "clap", "futures", @@ -3535,6 +3579,12 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +[[package]] +name = "matchit" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" + [[package]] name = "md-5" version = "0.10.6" @@ -3574,7 +3624,7 @@ dependencies = [ name = "metrics-example" version = "0.1.0" dependencies = [ - "axum", + "axum 0.8.9", "futures", "libp2p", "opentelemetry", @@ -4419,7 +4469,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.6.3", + "socket2 0.5.9", "thiserror 2.0.18", "tokio", "tracing", @@ -4759,7 +4809,7 @@ dependencies = [ "tokio-native-tls", "tokio-rustls", "tower 0.5.2", - "tower-http 0.6.7", + "tower-http", "tower-service", "url", "wasm-bindgen", @@ -4958,7 +5008,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -5585,7 +5635,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix 1.1.4", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -5870,7 +5920,7 @@ checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.7.9", "base64", "bytes", "h2", @@ -5930,45 +5980,30 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.5.2" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" dependencies = [ "bitflags 2.9.0", "bytes", + "futures-core", "futures-util", "http 1.3.1", "http-body", "http-body-util", "http-range-header", "httpdate", + "iri-string", "mime", "mime_guess", "percent-encoding", "pin-project-lite", "tokio", "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-http" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" -dependencies = [ - "bitflags 2.9.0", - "bytes", - "futures-util", - "http 1.3.1", - "http-body", - "iri-string", - "pin-project-lite", "tower 0.5.2", "tower-layer", "tower-service", + "tracing", ] [[package]] diff --git a/examples/browser-webrtc/Cargo.toml b/examples/browser-webrtc/Cargo.toml index 1f88d0e4009..2d4af7fde13 100644 --- a/examples/browser-webrtc/Cargo.toml +++ b/examples/browser-webrtc/Cargo.toml @@ -23,14 +23,14 @@ tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -axum = "0.7.5" +axum = "0.8.9" libp2p = { path = "../../libp2p", features = [ "ed25519", "macros", "ping", "tokio"] } libp2p-webrtc = { workspace = true, features = ["tokio"] } rust-embed = { version = "8.11.0", features = ["include-exclude", "interpolate-folder-path"] } tokio = { workspace = true, features = ["macros", "net", "rt", "signal"] } tokio-util = { version = "0.7", features = ["compat"] } -tower = "0.4" -tower-http = { version = "0.5.2", features = ["cors"] } +tower = "0.5" +tower-http = { version = "0.6.7", features = ["cors"] } mime_guess = "2.0.4" [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/examples/metrics/Cargo.toml b/examples/metrics/Cargo.toml index a969a31b906..4abddf1a0a2 100644 --- a/examples/metrics/Cargo.toml +++ b/examples/metrics/Cargo.toml @@ -10,7 +10,7 @@ release = false [dependencies] futures = { workspace = true } -axum = "0.7" +axum = "0.8" libp2p = { path = "../../libp2p", features = ["tokio", "metrics", "ping", "noise", "identify", "tcp", "yamux", "macros"] } opentelemetry = { version = "0.27.0", features = ["metrics"] } opentelemetry-otlp = { version = "0.27.0", features = ["metrics"] } diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 84a390b5354..828317c939b 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -20,7 +20,7 @@ tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -axum = "0.7" +axum = "0.8" libp2p = { path = "../libp2p", features = [ "ping", "noise", "tls", "rsa", "macros", "websocket", "tokio", "yamux", "tcp", "dns", "identify", "quic"] } libp2p-mplex = { path = "../muxers/mplex" } libp2p-noise = { workspace = true } @@ -34,7 +34,7 @@ rust-embed = "8.11" serde_json = "1" thirtyfour = "=0.32.0" # https://github.com/stevepryde/thirtyfour/issues/169 tokio = { workspace = true, features = ["full"] } -tower-http = { version = "0.5", features = ["cors", "fs", "trace"] } +tower-http = { version = "0.6", features = ["cors", "fs", "trace"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/misc/server/Cargo.toml b/misc/server/Cargo.toml index 02cb1c8637e..86f681b254b 100644 --- a/misc/server/Cargo.toml +++ b/misc/server/Cargo.toml @@ -14,7 +14,7 @@ license = "MIT" base64 = "0.22" clap = { version = "4.6.1", features = ["derive"] } futures = { workspace = true } -axum = "0.7" +axum = "0.8" libp2p = { workspace = true, features = [ "autonat", "dns",