From ea06ffd5135b5d3dc589511ea73a147848ae1aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 12 Jan 2025 22:10:29 +0100 Subject: [PATCH] Update to hashbrown v0.15 --- Cargo.lock | 23 +++++++++++++++++------ crates/common/Cargo.toml | 2 +- crates/http_load_test/Cargo.toml | 2 +- crates/udp/Cargo.toml | 2 +- crates/ws/Cargo.toml | 2 +- crates/ws_protocol/Cargo.toml | 2 +- 6 files changed, 22 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86d17a6..71dae7a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -159,7 +159,7 @@ dependencies = [ "arc-swap", "duplicate", "git-testament", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "hex", "hwloc", "indexmap 2.7.0", @@ -227,7 +227,7 @@ dependencies = [ "futures-lite", "futures-rustls", "glommio", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "log", "mimalloc", "quickcheck", @@ -306,7 +306,7 @@ dependencies = [ "crossbeam-channel", "crossbeam-utils", "getrandom", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "hdrhistogram", "hex", "io-uring", @@ -377,7 +377,7 @@ dependencies = [ "futures-lite", "futures-rustls", "glommio", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "httparse", "indexmap 2.7.0", "log", @@ -428,7 +428,7 @@ version = "0.9.0" dependencies = [ "anyhow", "criterion 0.5.1", - "hashbrown 0.14.5", + "hashbrown 0.15.2", "quickcheck", "quickcheck_macros", "serde", @@ -1172,6 +1172,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1447,7 +1453,6 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash 0.8.11", "allocator-api2", - "serde", ] [[package]] @@ -1455,6 +1460,12 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", + "serde", +] [[package]] name = "hdrhistogram" diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 772b6e7..ad3c08e 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -26,7 +26,7 @@ anyhow = "1" arc-swap = "1" duplicate = "1" git-testament = "0.2" -hashbrown = "0.14" +hashbrown = "0.15" hex = "0.4" indexmap = "2" libc = "0.2" diff --git a/crates/http_load_test/Cargo.toml b/crates/http_load_test/Cargo.toml index 63abaaa..a05d999 100644 --- a/crates/http_load_test/Cargo.toml +++ b/crates/http_load_test/Cargo.toml @@ -23,7 +23,7 @@ anyhow = "1" futures = "0.3" futures-lite = "1" futures-rustls = "0.26" -hashbrown = "0.14" +hashbrown = "0.15" glommio = "0.9" log = "0.4" mimalloc = { version = "0.1", default-features = false } diff --git a/crates/udp/Cargo.toml b/crates/udp/Cargo.toml index d6176c7..06ea1fc 100644 --- a/crates/udp/Cargo.toml +++ b/crates/udp/Cargo.toml @@ -42,7 +42,7 @@ constant_time_eq = "0.3" crossbeam-channel = "0.5" crossbeam-utils = "0.8" getrandom = "0.2" -hashbrown = { version = "0.14", default-features = false } +hashbrown = { version = "0.15", default-features = false } hdrhistogram = "7" hex = "0.4" libc = "0.2" diff --git a/crates/ws/Cargo.toml b/crates/ws/Cargo.toml index 064bea0..d6d8ac5 100644 --- a/crates/ws/Cargo.toml +++ b/crates/ws/Cargo.toml @@ -40,7 +40,7 @@ futures = "0.3" futures-lite = "1" futures-rustls = "0.26" glommio = "0.9" -hashbrown = { version = "0.14", features = ["serde"] } +hashbrown = { version = "0.15", features = ["serde"] } httparse = "1" indexmap = "2" log = "0.4" diff --git a/crates/ws_protocol/Cargo.toml b/crates/ws_protocol/Cargo.toml index 3c2dd4a..8cf65f9 100644 --- a/crates/ws_protocol/Cargo.toml +++ b/crates/ws_protocol/Cargo.toml @@ -26,7 +26,7 @@ harness = false [dependencies] anyhow = "1" -hashbrown = { version = "0.14", features = ["serde"] } +hashbrown = { version = "0.15", features = ["serde"] } serde = { version = "1", features = ["derive"] } serde_json = "1" simd-json = "0.13"