diff --git a/Cargo.lock b/Cargo.lock index b45ee9b..40b662b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2116,6 +2116,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" @@ -2623,7 +2629,7 @@ dependencies = [ "libp2p-swarm", "libp2p-tcp", "libp2p-yamux", - "lru 0.12.1", + "lru 0.16.3", "mesh-core", "mockall", "multiaddr", @@ -2723,7 +2729,7 @@ version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ - "foldhash", + "foldhash 0.1.5", ] [[package]] @@ -2731,6 +2737,11 @@ name = "hashbrown" version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] [[package]] name = "heck" @@ -3891,11 +3902,11 @@ dependencies = [ [[package]] name = "lru" -version = "0.12.1" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2994eeba8ed550fd9b47a0b38f0242bc3344e496483c6180b69139cc2fa5d1d7" +checksum = "a1dc47f592c06f33f8e3aea9591776ec7c9f9e4124778ff8a3c3b87159f7e593" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.16.1", ] [[package]] @@ -6949,7 +6960,7 @@ dependencies = [ "anyhow", "common", "futures", - "lru 0.12.1", + "lru 0.16.3", "nvram-sim", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index c5ed55c..51631a9 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.5" } # 2025-11-16 sw: Random peer selection for gossip 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.16.3" } # 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