11 unstable releases

new 0.5.2 Nov 19, 2024
0.5.1 Apr 21, 2024
0.5.0 Feb 11, 2024
0.4.0 Feb 26, 2022
0.2.1 Mar 6, 2020

#48 in Concurrency

Download history 8297/week @ 2024-08-03 7256/week @ 2024-08-10 7595/week @ 2024-08-17 6990/week @ 2024-08-24 6987/week @ 2024-08-31 6854/week @ 2024-09-07 6539/week @ 2024-09-14 7483/week @ 2024-09-21 8443/week @ 2024-09-28 8392/week @ 2024-10-05 7363/week @ 2024-10-12 9309/week @ 2024-10-19 9778/week @ 2024-10-26 12007/week @ 2024-11-02 12320/week @ 2024-11-09 12650/week @ 2024-11-16

48,571 downloads per month
Used in 46 crates (20 directly)

MIT/Apache

330KB
5K SLoC

Crates.io Documentation Codecov Dependency status

A port of Java's java.util.concurrent.ConcurrentHashMap to Rust.

The port is based on the public domain source file from JSR166 as of CVS revision 1.323, and is jointly licensed under MIT and Apache 2.0 to match the Rust API guidelines. The Java source files are included under the jsr166/ subdirectory for easy reference.

The port was developed as part of a series of live coding streams kicked off by this tweet.

Better Alternatives

Flurry currently suffers performance and memory usage issues under load. You may wish to consider papaya or dashmap as alternatives if this is important to you.

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.

Dependencies

~1.3–7MB
~45K SLoC