xacrimon / dashmap

Blazing fast concurrent HashMap for Rust.
MIT License
2.99k stars 145 forks source link

Add optional arbitrary support #269

Closed jyn514 closed 1 year ago

jyn514 commented 1 year ago

arbitrary is a crate for structure-aware fuzz testing. Implementing Arbitrary for dashmap makes it easier to do structure-aware fuzzing of crates and structs that contain a Dashmap.

Smallvec already does something similar: https://docs.rs/crate/smallvec/latest/source/src/arbitrary.rs so as a result this can't be added directly to arbitrary because it causes a cyclic dependency (arbitrary -> dashmap -> smallvec -> arbitrary).

xacrimon commented 1 year ago

replaced