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

#501 in Testing

Download history 209/week @ 2023-12-13 88/week @ 2023-12-20 33/week @ 2023-12-27 90/week @ 2024-01-03 140/week @ 2024-01-10 110/week @ 2024-01-17 106/week @ 2024-01-24 143/week @ 2024-01-31 113/week @ 2024-02-07 180/week @ 2024-02-14 203/week @ 2024-02-21 252/week @ 2024-02-28 285/week @ 2024-03-06 289/week @ 2024-03-13 405/week @ 2024-03-20 237/week @ 2024-03-27

1,264 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
~36K SLoC