diff --git a/Cargo.lock b/Cargo.lock index 5b48b887..02908eca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -113,9 +113,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "axum" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18ed336352031311f4e0b4dd2ff392d4fbb370777c9d18d7fc9d7359f73871" +checksum = "5b098575ebe77cb6d14fc7f32749631a6e44edbef6b796f89b020e99ba20d425" dependencies = [ "axum-core", "bytes", @@ -165,21 +165,20 @@ dependencies = [ [[package]] name = "axum-extra" -version = "0.10.3" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9963ff19f40c6102c76756ef0a46004c0d58957d87259fc9208ff8441c12ab96" +checksum = "dbfe9f610fe4e99cf0cfcd03ccf8c63c28c616fe714d80475ef731f3b13dd21b" dependencies = [ "axum", "axum-core", "bytes", + "futures-core", "futures-util", "http", "http-body", "http-body-util", "mime", "pin-project-lite", - "rustversion", - "serde_core", "tower-layer", "tower-service", "tracing", @@ -288,11 +287,12 @@ checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" [[package]] name = "byte-unit" -version = "5.1.6" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cd29c3c585209b0cbc7309bfe3ed7efd8c84c21b7af29c8bfae908f8777174" +checksum = "8c6d47a4e2961fb8721bcfc54feae6455f2f64e7054f9bc67e875f0e77f4c58d" dependencies = [ "rust_decimal", + "schemars", "serde", "utf8-width", ] @@ -327,9 +327,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "c2rust-bitfields" @@ -616,6 +616,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + [[package]] name = "encode_unicode" version = "1.0.0" @@ -1558,6 +1564,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + [[package]] name = "matchers" version = "0.2.0" @@ -1718,13 +1730,14 @@ dependencies = [ [[package]] name = "netdev" -version = "0.38.2" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ab878b4c90faf36dab10ea51d48c69ae9019bcca47c048a7c9b273d5d7a823" +checksum = "35a703aa1a87cd885b9f674922445a42dbb0c0f4f1b28fef21b227ae32375d21" dependencies = [ "dlopen2", "ipnet", "libc", + "mac-addr", "netlink-packet-core", "netlink-packet-route", "netlink-sys", @@ -1868,9 +1881,9 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.74" +version = "0.10.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24ad14dd45412269e1a30f52ad8f0664f0f4f4a89ee8fe28c3b3527021ebb654" +checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328" dependencies = [ "bitflags 2.9.0", "cfg-if", @@ -1903,9 +1916,9 @@ dependencies = [ [[package]] name = "openssl-sys" -version = "0.9.110" +version = "0.9.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a9f0075ba3c21b09f8e8b2026584b1d18d49388648f2fbbf3c97ea8deced8e2" +checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321" dependencies = [ "cc", "libc", @@ -2361,6 +2374,26 @@ dependencies = [ "spin", ] +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.100", +] + [[package]] name = "regex-automata" version = "0.4.9" @@ -2546,9 +2579,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.34" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9586e9ee2b4f8fab52a0048ca7334d7024eef48e2cb9407e3497bb7cab7fa7" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "ring", @@ -2591,6 +2624,18 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +[[package]] +name = "schemars" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9558e172d4e8533736ba97870c4b2cd63f84b382a3d6eb063da41b91cce17289" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + [[package]] name = "scoped-tls" version = "1.0.1" @@ -3052,9 +3097,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.16" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", diff --git a/mycelium-api/Cargo.toml b/mycelium-api/Cargo.toml index 3c6aa756..853e22a5 100644 --- a/mycelium-api/Cargo.toml +++ b/mycelium-api/Cargo.toml @@ -9,7 +9,7 @@ readme = "../README.md" message = ["mycelium/message"] [dependencies] -axum = { version = "0.8.6", default-features = false, features = [ +axum = { version = "0.8.7", default-features = false, features = [ "http1", "http2", "json", diff --git a/mycelium-cli/Cargo.toml b/mycelium-cli/Cargo.toml index bda2ebb3..829278bd 100644 --- a/mycelium-cli/Cargo.toml +++ b/mycelium-cli/Cargo.toml @@ -22,5 +22,5 @@ tokio = { version = "1.48.0", default-features = false, features = [ "fs", ] } reqwest = { version = "0.12.24", default-features = false, features = ["json"] } -byte-unit = "5.1.6" +byte-unit = "5.2.0" urlencoding = "2.1.3" diff --git a/mycelium-metrics/Cargo.toml b/mycelium-metrics/Cargo.toml index 92903a0a..20ec36c9 100644 --- a/mycelium-metrics/Cargo.toml +++ b/mycelium-metrics/Cargo.toml @@ -9,7 +9,7 @@ readme = "../README.md" prometheus = ["dep:axum", "dep:prometheus", "dep:tokio", "dep:tracing"] [dependencies] -axum = { version = "0.8.6", default-features = false, optional = true, features = [ +axum = { version = "0.8.7", default-features = false, optional = true, features = [ "http1", "http2", "tokio", diff --git a/mycelium/Cargo.toml b/mycelium/Cargo.toml index 2ed21c9e..63208d75 100644 --- a/mycelium/Cargo.toml +++ b/mycelium/Cargo.toml @@ -25,11 +25,11 @@ tokio = { version = "1.48.0", features = [ "time", "rt-multi-thread", # FIXME: remove once tokio::task::block_in_place calls are resolved ] } -tokio-util = { version = "0.7.16", features = ["codec"] } +tokio-util = { version = "0.7.17", features = ["codec"] } futures = "0.3.31" serde = { version = "1.0.228", features = ["derive"] } rand = "0.9.2" -bytes = "1.10.1" +bytes = "1.11.0" x25519-dalek = { version = "2.0.1", features = ["getrandom", "static_secrets"] } aes-gcm = "0.10.3" tracing = { version = "0.1.41", features = ["release_max_level_debug"] } @@ -46,16 +46,16 @@ quinn = { version = "0.11.9", default-features = false, features = [ "runtime-tokio", "rustls", ] } -rustls = { version = "0.23.34", default-features = false, features = ["ring"] } +rustls = { version = "0.23.35", default-features = false, features = ["ring"] } rcgen = "0.14.5" -netdev = "0.38.2" -openssl = { version = "0.10.74", optional = true } +netdev = "0.39.0" +openssl = { version = "0.10.75", optional = true } tokio-openssl = { version = "0.6.5", optional = true } arc-swap = "1.7.1" dashmap = { version = "6.1.0", features = ["inline"] } ahash = "0.8.11" -axum = "0.8.6" -axum-extra = "0.10.3" +axum = "0.8.7" +axum-extra = "0.12.2" reqwest = { version = "0.12.24", default-features = false, features = [ "charset", "http2",