#hashmap #hashset #hash #fnv #no_std

no-std hashmap_core

Implementation of HashMap and HashSet for no_std environments

12 releases

0.1.11 Aug 19, 2019
0.1.10 Jan 20, 2019
0.1.9 Jul 19, 2018
0.1.8 Jun 23, 2018
0.1.1 Nov 30, 2017

#187 in Algorithms

Download history 1006/week @ 2019-11-08 726/week @ 2019-11-15 649/week @ 2019-11-22 568/week @ 2019-11-29 641/week @ 2019-12-06 783/week @ 2019-12-13 192/week @ 2019-12-20 147/week @ 2019-12-27 316/week @ 2020-01-03 483/week @ 2020-01-10 259/week @ 2020-01-17 272/week @ 2020-01-24 197/week @ 2020-01-31 300/week @ 2020-02-07 314/week @ 2020-02-14

3,985 downloads per month
Used in 10 crates (5 directly)

Apache-2.0/MIT

180KB
3K SLoC

This crate is deprecated, use hashbrown instead.

hashmap_core

Build Status Crates.io

This crate provides an implementation of HashMap and HashSet which do not depend on the standard library and are suitable for no_std environments.

This crate uses the FNV instead of SipHash for the default hasher, because the latter requires a source of random numbers which may not be available in no_std environments.

This crate is nightly-only for now since it uses the alloc crate, which is unstable.

Documentation

https://docs.rs/hashmap_core

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps