From a1313b45842e29693ad10c3998d043ef651e667c Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Wed, 4 Mar 2026 09:51:53 -0500 Subject: [PATCH 1/2] Update hash32 dependency to v1.0.0. --- Cargo.toml | 2 +- src/index_map.rs | 4 ++-- src/index_set.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3524c533b5..f975f9b556 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ nightly = [] [dependencies] bytes = { version = "1", default-features = false, optional = true } portable-atomic = { version = "1.0", optional = true } -hash32 = "0.3.0" +hash32 = "1.0.0" serde_core = { version = "1", optional = true, default-features = false } ufmt = { version = "0.2", optional = true } ufmt-write = { version = "0.1", optional = true } diff --git a/src/index_map.rs b/src/index_map.rs index cd6e30b4cd..05641c08ae 100644 --- a/src/index_map.rs +++ b/src/index_map.rs @@ -2,7 +2,7 @@ use core::{ borrow::Borrow, fmt, - hash::{BuildHasher, Hash}, + hash::{BuildHasher, BuildHasherDefault, Hash}, iter::FusedIterator, mem, num::NonZeroU32, @@ -12,7 +12,7 @@ use core::{ #[cfg(feature = "zeroize")] use zeroize::Zeroize; -use hash32::{BuildHasherDefault, FnvHasher}; +use hash32::FnvHasher; use crate::Vec; diff --git a/src/index_set.rs b/src/index_set.rs index 803fa29107..b4da1cfc12 100644 --- a/src/index_set.rs +++ b/src/index_set.rs @@ -2,13 +2,13 @@ use core::{ borrow::Borrow, fmt, - hash::{BuildHasher, Hash}, + hash::{BuildHasher, BuildHasherDefault, Hash}, }; #[cfg(feature = "zeroize")] use zeroize::Zeroize; -use hash32::{BuildHasherDefault, FnvHasher}; +use hash32::FnvHasher; use crate::index_map::{self, IndexMap}; From 8fafe3a4a646a3e1f4ac1414242634e932aaad55 Mon Sep 17 00:00:00 2001 From: Amy Kwan Date: Wed, 11 Mar 2026 20:31:20 -0400 Subject: [PATCH 2/2] Updated CHANGELOG.md to account for hash32 dependency update. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5440935b37..d1196084a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ of panicking drop implementations. - Added `from_bytes_truncating_at_nul` to `CString` - Added `CString::{into_bytes, into_bytes_with_nul, into_string}` - Added `pop_front_if` and `pop_back_if` to `Deque` +- Bump hash32 dependency to v1.0.0. ## [v0.9.2] 2025-11-12