Sunbeam Studios

Our open-source projects, here for you!

flurry (0.5.2)

Published 2026-03-26 10:58:05 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add flurry@0.5.2

About this package

Rust port of Java's ConcurrentHashMap

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

ID Version
ahash ^0.8.4
num_cpus ^1.12.0
parking_lot ^0.12
rayon ^1.3
seize ^0.3.3
serde ^1.0.105
criterion ^0.5
rand ^0.8
rayon ^1.3
serde_json ^1.0.50
regex ^1.6.0

Keywords

hashmap concurrent map
Details
Cargo
2026-03-26 10:58:05 +00:00
0
Jon Gjengset <jon@thesquareplanet.com>
MIT OR Apache-2.0
87 KiB
Assets (1)
Versions (1) View all
0.5.2 2026-03-26