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 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};