Expand description
Re-export HashMap and HashSet symbols used by netstack3 core.
This crate exists because the netstack3-core wants to be no_std to ensure
we’re not taking on big OS dependencies in case it’s moved to run elsewhere.
However, HashMap and HashSet are NOT available in the alloc crate.
The implementations are provided by hashbrown, which is the same
implementation backing the standard library’s collections, but usable from
no_std targets.
This crate may evolve if necessary to provide different HashMap implementations based on compilation features as necessary.
Modules§
- hash_
map - A hash map implemented with quadratic probing and SIMD lookup.
- hash_
set - A hash set implemented as a
HashMapwhere the value is().