pub use ahash::AHasher; use ahash::RandomState; pub type HashMap = std::collections::HashMap; pub type HashSet = std::collections::HashSet; pub trait HashMapExt { fn with_capacity(cap: usize) -> Self; } impl HashMapExt for HashMap { fn with_capacity(cap: usize) -> Self { HashMap::with_capacity_and_hasher(cap, RandomState::default()) } }