From fd2299f5f0b1917097f99364dca4371ef771fc51 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Thu, 20 Mar 2025 13:42:32 -0400 Subject: [PATCH] add hashbrown Signed-off-by: kernelkind --- Cargo.lock | 9 +++++++++ Cargo.toml | 1 + crates/notedeck/Cargo.toml | 1 + 3 files changed, 11 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 740ca715..48cebeaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,6 +93,12 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4aa90d7ce82d4be67b64039a3d588d38dbcc6736577de4a847025ce5b0c468d1" +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + [[package]] name = "android-activity" version = "0.6.0" @@ -1961,6 +1967,8 @@ version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" dependencies = [ + "allocator-api2", + "equivalent", "foldhash", ] @@ -2876,6 +2884,7 @@ dependencies = [ "egui-winit", "ehttp", "enostr", + "hashbrown", "hex", "image", "jni", diff --git a/Cargo.toml b/Cargo.toml index e3ccbdca..da379cb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,7 @@ jni = "0.21.1" profiling = "1.0" lightning-invoice = "0.33.1" secp256k1 = "0.30.0" +hashbrown = "0.15.2" [profile.small] inherits = 'release' diff --git a/crates/notedeck/Cargo.toml b/crates/notedeck/Cargo.toml index aae375bc..4f73da76 100644 --- a/crates/notedeck/Cargo.toml +++ b/crates/notedeck/Cargo.toml @@ -38,6 +38,7 @@ tokio = { workspace = true } bech32 = { workspace = true } lightning-invoice = { workspace = true } secp256k1 = { workspace = true } +hashbrown = { workspace = true } [dev-dependencies] tempfile = { workspace = true }