quickcheck_derive
This crate adds a derive for the Arbitrary
trait from the quickcheck
crate.
Requirements
You need the following dependencies in your Cargo.toml
:
quickcheck
>= 0.7rand
Usage
extern crate quickcheck_derive;
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,
}