| Crates.io | quickcheck_derive |
| lib.rs | quickcheck_derive |
| version | 0.3.0 |
| created_at | 2017-09-28 00:38:10.530679+00 |
| updated_at | 2020-10-20 16:25:40.625921+00 |
| description | Derives quickcheck traits |
| homepage | |
| repository | https://github.com/panicbit/quickcheck_derive |
| max_upload_size | |
| id | 33727 |
| size | 19,085 |
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,
}