File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ edition = "2018"
13
13
14
14
[dependencies ]
15
15
# For the default hasher
16
- ahash = { version = " 0.7 .0" , default-features = false , optional = true }
16
+ ahash = { version = " 0.8 .0" , default-features = false , optional = true }
17
17
18
18
# For external trait impls
19
19
rayon = { version = " 1.0" , optional = true }
@@ -38,7 +38,8 @@ doc-comment = "0.3.1"
38
38
[features ]
39
39
default = [" ahash" , " inline-more" ]
40
40
41
- ahash-compile-time-rng = [" ahash/compile-time-rng" ]
41
+ # Ahash changed behavior here, this feature is now a no-op for backcompat
42
+ ahash-compile-time-rng = []
42
43
nightly = []
43
44
rustc-internal-api = []
44
45
rustc-dep-of-std = [
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use core::ops::Index;
14
14
15
15
/// Default hasher for `HashMap`.
16
16
#[ cfg( feature = "ahash" ) ]
17
- pub type DefaultHashBuilder = ahash:: RandomState ;
17
+ pub type DefaultHashBuilder = core :: hash :: BuildHasherDefault < ahash:: AHasher > ;
18
18
19
19
/// Dummy default hasher for `HashMap`.
20
20
#[ cfg( not( feature = "ahash" ) ) ]
You can’t perform that action at this time.
0 commit comments