diff --git a/Cargo.lock b/Cargo.lock index f783305..6c5c8e6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ "http-body 0.4.6", "hyper 0.14.32", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "percent-encoding", @@ -385,8 +385,6 @@ checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", "axum-core 0.4.5", - "axum-macros", - "base64 0.22.1", "bytes", "futures-util", "http 1.4.0", @@ -395,7 +393,7 @@ dependencies = [ "hyper 1.8.1", "hyper-util", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "multer", @@ -406,10 +404,46 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", + "sync_wrapper 1.0.2", + "tokio", + "tower 0.5.2", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "axum" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b52af3cb4058c895d37317bb27508dccc8e5f2d39454016b297bf4a400597b8" +dependencies = [ + "axum-core 0.5.6", + "axum-macros", + "base64 0.22.1", + "bytes", + "form_urlencoded", + "futures-util", + "http 1.4.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.8.1", + "hyper-util", + "itoa", + "matchit 0.8.4", + "memchr", + "mime", + "multer", + "percent-encoding", + "pin-project-lite", + "serde_core", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", "sha1", "sync_wrapper 1.0.2", "tokio", - "tokio-tungstenite 0.24.0", + "tokio-tungstenite 0.28.0", "tower 0.5.2", "tower-layer", "tower-service", @@ -454,11 +488,30 @@ dependencies = [ "tracing", ] +[[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.4.0", + "http-body 1.0.1", + "http-body-util", + "mime", + "pin-project-lite", + "sync_wrapper 1.0.2", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "axum-macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce" +checksum = "604fde5e028fea851ce1d8570bbdc034bec850d157f7569d10f347d06808c05c" dependencies = [ "proc-macro2", "quote", @@ -1709,7 +1762,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" dependencies = [ "data-encoding", - "syn 2.0.111", + "syn 1.0.109", ] [[package]] @@ -1972,7 +2025,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2943,7 +2996,7 @@ dependencies = [ "hyper 1.8.1", "libc", "pin-project-lite", - "socket2 0.6.1", + "socket2 0.5.10", "tokio", "tower-service", "tracing", @@ -3215,7 +3268,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi 0.5.2", "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3928,6 +3981,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 = "matrixmultiply" version = "0.3.10" @@ -4253,7 +4312,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -5377,7 +5436,7 @@ name = "protocol-s3" version = "0.1.0" dependencies = [ "anyhow", - "axum 0.7.9", + "axum 0.8.8", "bytes", "capsule-registry", "common", @@ -5392,7 +5451,7 @@ dependencies = [ "tokio", "tokio-tungstenite 0.21.0", "tokio-util", - "tower 0.4.13", + "tower 0.5.2", "tower-http", "tracing", "tracing-subscriber", @@ -5974,7 +6033,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.11.0", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -7067,7 +7126,7 @@ dependencies = [ "getrandom 0.3.4", "once_cell", "rustix 1.1.3", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -7076,7 +7135,7 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8c27177b12a6399ffc08b98f76f7c9a1f4fe9fc967c784c5a071fa8d93cf7e1" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -7237,9 +7296,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.48.0" +version = "1.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" +checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" dependencies = [ "bytes", "libc", @@ -7336,14 +7395,14 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.24.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" +checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857" dependencies = [ "futures-util", "log", "tokio", - "tungstenite 0.24.0", + "tungstenite 0.28.0", ] [[package]] @@ -7785,19 +7844,18 @@ dependencies = [ [[package]] name = "tungstenite" -version = "0.24.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a" +checksum = "8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442" dependencies = [ - "byteorder", "bytes", "data-encoding", "http 1.4.0", "httparse", "log", - "rand 0.8.5", + "rand 0.9.2", "sha1", - "thiserror 1.0.69", + "thiserror 2.0.17", "utf-8", ] @@ -8485,7 +8543,7 @@ version = "0.1.0" dependencies = [ "anyhow", "async-trait", - "axum 0.7.9", + "axum 0.8.8", "axum-test", "base64 0.22.1", "blake3", @@ -8505,7 +8563,7 @@ dependencies = [ "thiserror 2.0.17", "tokio", "tokio-test", - "tower 0.4.13", + "tower 0.5.2", "tower-http", "tracing", "tracing-subscriber", @@ -8637,7 +8695,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.48.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 6c3307f..b4598b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ license = "MIT OR Apache-2.0" uuid = { version = "^1.18.1", features = ["v4", "serde"] } # 2025-11-03 sw: deterministic object IDs for registry state anyhow = { version = "^1.0.100" } # 2025-11-03 sw: ergonomic error context, low risk per audit log thiserror = { version = "^2.0.17" } # 2025-11-03 sw: structured errors, carries audit note Tier1-2025-11 -tokio = { version = "^1.48.0", features = ["full"] } # 2025-11-03 sw: async runtime staple, reviewed for LTS support +tokio = { version = "^1.49.0", features = ["full"] } # 2025-11-03 sw: async runtime staple, reviewed for LTS support futures = { version = "^0.3.31" } # 2025-11-03 sw: combinators align with tokio 1.48, no unsafe diff num_cpus = { version = "^1.17.0" } # 2025-11-03 sw: worker sizing, perf only tracing = { version = "^0.1.41", features = ["std", "attributes"] } # 2025-11-03 sw: observability spine @@ -88,7 +88,7 @@ hmac = { version = "=0.12.1" } # 2025-11-04 sw: HKDF based on HMAC-SHA256 for ke sha2 = { version = "=0.10.9" } # 2025-11-04 sw: Hash core for HKDF extractor # Web Interface & Mesh Networking (2025-11-16 sw; Next-gen web interface with gossip) -axum = { version = "^0.7.9", features = ["ws", "macros", "multipart"] } # 2025-11-16 sw: Web server framework +axum = { version = "^0.8.8", features = ["ws", "macros", "multipart"] } # 2025-11-16 sw: Web server framework tower-http = { version = "^0.6.8", features = ["cors", "trace", "fs"] } # 2025-11-16 sw: HTTP middleware libp2p-core = { version = "=0.41.3" } # 2025-11-16 sw: libp2p core transport traits libp2p-identity = { version = "=0.2.13", default-features = false, features = ["peerid", "ed25519", "rand"] } # 2025-11-16 sw: PeerId + key material @@ -109,7 +109,7 @@ leptos_axum = { version = "=0.6.15" } # 2025-11-16 sw: Leptos integration with A wasm-bindgen = { version = "^0.2.91" } # 2025-11-16 sw: Wasm interop gloo = { version = "=0.11.0" } # 2025-11-16 sw: Browser utilities for Wasm web-sys = { version = "^0.3.68", features = ["WebSocket", "MessageEvent", "CloseEvent"] } # 2025-11-16 sw: Web APIs -tower = { version = "=0.4.13", features = ["util"] } # 2025-11-16 sw: Service abstractions +tower = { version = "=0.5.2", features = ["util"] } # 2025-11-16 sw: Service abstractions raft-rs = { path = "vendor/raft-rs", version = "0.7.0" } spdk-rs = { path = "vendor/spdk-rs", version = "0.1.0" } diff --git a/crates/protocol-s3/Cargo.toml b/crates/protocol-s3/Cargo.toml index 10226cd..ecae99f 100644 --- a/crates/protocol-s3/Cargo.toml +++ b/crates/protocol-s3/Cargo.toml @@ -23,7 +23,7 @@ nvram-sim = { path = "../nvram-sim" } # HTTP server axum = { workspace = true, features = ["http2", "multipart"] } # 2025-11-03 sw: Tier1 HTTP surface per docs/dependency-security.md tokio = { workspace = true } -tower = { version = "^0.4.13", features = ["util"] } # 2025-11-03 sw: aligns with axum 0.7 require +tower = { version = "^0.5.2", features = ["util"] } # 2025-11-03 sw: aligns with axum 0.7 require tower-http = { workspace = true, features = ["cors", "trace"] } # 2025-11-03 sw: HTTP middleware review logged tokio-util = { version = "^0.7.11", features = ["io"] }