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 9648/week @ 2024-08-01 7289/week @ 2024-08-08 7765/week @ 2024-08-15 6520/week @ 2024-08-22 7041/week @ 2024-08-29 7381/week @ 2024-09-05 6520/week @ 2024-09-12 6798/week @ 2024-09-19 8355/week @ 2024-09-26 8937/week @ 2024-10-03 7147/week @ 2024-10-10 8466/week @ 2024-10-17 9573/week @ 2024-10-24 11383/week @ 2024-10-31 12163/week @ 2024-11-07 10621/week @ 2024-11-14

45,427 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