7 releases

Uses old Rust 2015

0.3.0 Oct 20, 2020
0.2.1 Sep 22, 2018
0.1.3 Sep 4, 2018
0.1.2 Aug 24, 2018
0.1.0 Sep 28, 2017

#961 in Testing

Download history 379/week @ 2024-07-21 158/week @ 2024-07-28 123/week @ 2024-08-04 191/week @ 2024-08-11 150/week @ 2024-08-18 124/week @ 2024-08-25 114/week @ 2024-09-01 73/week @ 2024-09-08 96/week @ 2024-09-15 118/week @ 2024-09-22 201/week @ 2024-09-29 102/week @ 2024-10-06 109/week @ 2024-10-13 136/week @ 2024-10-20 139/week @ 2024-10-27 137/week @ 2024-11-03

535 downloads per month
Used in 11 crates

MIT/Apache

8KB
128 lines

NOTICE

Before using this crate, please evaluate quickcheck's official derive crate.

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
~39K SLoC