Before using this crate, please evaluate quickcheck's official derive crate.
This crate adds a derive for the Arbitrary
trait from the quickcheck
crate.
You need the following dependencies in your Cargo.toml
:
quickcheck
>= 0.7rand
#[macro_use]
extern crate quickcheck_derive;
#[derive(Arbitrary,Clone)]
struct Data {
foo: i32,
bar: String,
}