Skip to content

Commit c4945f2

Browse files
committed
Upgrade to ahash 0.3.2
1 parent 6f5826e commit c4945f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hashbrown"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
authors = ["Amanieu d'Antras <[email protected]>"]
55
description = "A Rust port of Google's SwissTable hash map"
66
license = "Apache-2.0/MIT"
@@ -14,7 +14,7 @@ build = "build.rs"
1414

1515
[dependencies]
1616
# For the default hasher
17-
ahash = { version = "0.2.11", optional = true, default-features = false }
17+
ahash = { version = "0.3.2", optional = true, default-features = false }
1818

1919
# For external trait impls
2020
rayon = { version = "1.0", optional = true }

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use core::ops::Index;
1010

1111
/// Default hasher for `HashMap`.
1212
#[cfg(feature = "ahash")]
13-
pub type DefaultHashBuilder = ahash::ABuildHasher;
13+
pub type DefaultHashBuilder = ahash::RandomState;
1414

1515
/// Dummy default hasher for `HashMap`.
1616
#[cfg(not(feature = "ahash"))]

0 commit comments

Comments
 (0)