Closed frewsxcv closed 4 years ago
In principle, this sounds fine to me, but I personally don't have the time to manage something like this on quickcheck
's end.
I'm also not clear on why quickcheck
itself cannot be used as the source of truth about the Arbitrary
trait? (Perhaps though it might be related to the very little amount of time I can dedicate to this crate.)
Update here: crates in the rust-fuzz use the arbitrary
crate, which recently hit 1.0: https://users.rust-lang.org/t/arbitrary-version-1-0-released/56100
Right now,
cargo-fuzz
relies on thearbitrary
crate to do the same sort of thing theArbitrary
trait provides in thisquickcheck
crate. I'm also considering incorporating thearbitrary
crate into afl.rs. If someone wants to fuzz and run quickcheck on structures in their crate, it seems unnecessary for them to implementAribitrary
twice.I just threw together a rust-arbitrary GitHub organization and could talk to nagisa about sharing the
nagisa
crate name, and we can combine our implementations (or maybe just use the one in this crate).