11 unstable releases

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

#44 in Concurrency

Download history 6800/week @ 2024-08-20 6779/week @ 2024-08-27 7571/week @ 2024-09-03 6649/week @ 2024-09-10 6391/week @ 2024-09-17 7997/week @ 2024-09-24 8373/week @ 2024-10-01 8239/week @ 2024-10-08 7699/week @ 2024-10-15 9330/week @ 2024-10-22 10884/week @ 2024-10-29 11500/week @ 2024-11-05 12607/week @ 2024-11-12 12831/week @ 2024-11-19 11323/week @ 2024-11-26 14682/week @ 2024-12-03

53,358 downloads per month
Used in 49 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