6 releases

0.2.1 Sep 22, 2018
0.2.0 Sep 20, 2018
0.1.3 Sep 4, 2018
0.1.2 Aug 24, 2018
0.1.0 Sep 28, 2017

#126 in Testing

Download history 150/week @ 2019-03-23 61/week @ 2019-03-30 72/week @ 2019-04-06 126/week @ 2019-04-13 73/week @ 2019-04-20 59/week @ 2019-04-27 48/week @ 2019-05-04 99/week @ 2019-05-11 110/week @ 2019-05-18 66/week @ 2019-05-25 155/week @ 2019-06-01 118/week @ 2019-06-08 52/week @ 2019-06-15 225/week @ 2019-06-22 129/week @ 2019-06-29

390 downloads per month

MIT/Apache

7KB
128 lines

quickcheck_derive

Travis (.org) Crates.io

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.7
  • rand

Usage

#[macro_use]
extern crate quickcheck_derive;

#[derive(Arbitrary,Clone)]
struct Data {
    foo: i32,
    bar: String,
}

Dependencies

~1.5MB
~30K SLoC