Expand description
Workspace-wide hasher selection.
Default: hashbrown’s hashbrown::DefaultHashBuilder (FoldHash on
hashbrown 0.15+). The ahash and gxhash features each swap in a
different hasher.
Cargo unifies features across a dependency graph, so two unrelated
dependants asking for different hashers must not break the build: when
both features end up enabled, gxhash wins.
Type Aliases§
- Default
Build Hasher gxhash - Hasher used by the collections of this crate.
- HashMap
- Hash map using
DefaultBuildHasher. - HashSet
- Hash set using
DefaultBuildHasher. - Index
Map - Insertion-ordered map using
DefaultBuildHasher. - Index
Set - Insertion-ordered set using
DefaultBuildHasher.