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

#181 in Testing

Download history 215/week @ 2019-11-01 315/week @ 2019-11-08 197/week @ 2019-11-15 114/week @ 2019-11-22 178/week @ 2019-11-29 288/week @ 2019-12-06 247/week @ 2019-12-13 50/week @ 2019-12-20 100/week @ 2019-12-27 169/week @ 2020-01-03 177/week @ 2020-01-10 247/week @ 2020-01-17 428/week @ 2020-01-24 423/week @ 2020-01-31 71/week @ 2020-02-07

642 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