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"
1313
1414[dependencies ]
1515# 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 }
1717
1818# For external trait impls
1919rayon = { version = " 1.0" , optional = true }
@@ -38,7 +38,8 @@ doc-comment = "0.3.1"
3838[features ]
3939default = [" ahash" , " inline-more" ]
4040
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 = []
4243nightly = []
4344rustc-internal-api = []
4445rustc-dep-of-std = [
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use core::ops::Index;
1414
1515/// Default hasher for `HashMap`.
1616#[ cfg( feature = "ahash" ) ]
17- pub type DefaultHashBuilder = ahash:: RandomState ;
17+ pub type DefaultHashBuilder = core :: hash :: BuildHasherDefault < ahash:: AHasher > ;
1818
1919/// Dummy default hasher for `HashMap`.
2020#[ cfg( not( feature = "ahash" ) ) ]
You can’t perform that action at this time.
0 commit comments