diff --git a/Cargo.lock b/Cargo.lock index 02a3023..284aea1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2073,6 +2073,12 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + [[package]] name = "form_urlencoded" version = "1.2.2" @@ -2580,7 +2586,7 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-yamux", - "lru 0.12.1", + "lru 0.18.0", "mesh-core", "mockall", "multiaddr", @@ -2680,7 +2686,7 @@ version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ - "foldhash", + "foldhash 0.1.5", ] [[package]] @@ -2689,6 +2695,17 @@ version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +[[package]] +name = "hashbrown" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] + [[package]] name = "heck" version = "0.4.1" @@ -3839,11 +3856,11 @@ dependencies = [ [[package]] name = "lru" -version = "0.12.1" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2994eeba8ed550fd9b47a0b38f0242bc3344e496483c6180b69139cc2fa5d1d7" +checksum = "8a860605968fce16869fd239cf4237a82f3ac470723415db603b0e8b6c8d4fb9" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.17.0", ] [[package]] @@ -6897,7 +6914,7 @@ dependencies = [ "anyhow", "common", "futures", - "lru 0.12.1", + "lru 0.18.0", "nvram-sim", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index d24fb7b..dfcb619 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -102,7 +102,7 @@ bincode = { version = "=1.3.3" } # 2025-11-16 sw: Binary serialization for gossi bytes = { version = "^1.10.1" } # 2025-11-16 sw: Zero-copy byte buffers rand = { version = "=0.8.6" } # 2026-05-08 sw: Random peer selection for gossip; includes RUSTSEC-2026-0097 fix backoff = { version = "=0.4.0" } # 2025-11-16 sw: Retry logic with exponential backoff -lru = { version = "=0.12.1" } # 2025-11-16 sw: LRU cache for peer views +lru = { version = "=0.18.0" } # 2025-11-16 sw: LRU cache for peer views prometheus = { version = "=0.14.0", features = ["process"] } # 2025-11-16 sw: Metrics collection (updated for RUSTSEC-2024-0437) leptos = { version = "=0.6.15", features = ["csr"] } # 2025-11-16 sw: Reactive web framework leptos_axum = { version = "=0.6.15" } # 2025-11-16 sw: Leptos integration with Axum