diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 4c056b3..0eb1c28 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -481,6 +481,7 @@ dependencies = [ "lettre", "libsodium-sys-stable", "log", + "lru", "num_cpus", "rand", "rand_core", @@ -1159,6 +1160,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + [[package]] name = "foreign-types" version = "0.3.2" @@ -1371,6 +1378,11 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] [[package]] name = "heapless" @@ -1872,6 +1884,15 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +[[package]] +name = "lru" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +dependencies = [ + "hashbrown 0.15.2", +] + [[package]] name = "managed" version = "0.8.0" diff --git a/backend/Cargo.toml b/backend/Cargo.toml index c043c72..7bda64e 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -46,6 +46,7 @@ smoltcp = "0.11.0" bs58 = "0.5.1" askama = "0.12.1" actix-governor = {version = "0.8.0", features = ["log"]} +lru = "0.12.5" [dev-dependencies] libsodium-sys-stable = "1.20.4"