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

#402 in Testing

Download history 115/week @ 2024-01-16 92/week @ 2024-01-23 153/week @ 2024-01-30 110/week @ 2024-02-06 174/week @ 2024-02-13 191/week @ 2024-02-20 247/week @ 2024-02-27 248/week @ 2024-03-05 309/week @ 2024-03-12 416/week @ 2024-03-19 264/week @ 2024-03-26 332/week @ 2024-04-02 284/week @ 2024-04-09 385/week @ 2024-04-16 267/week @ 2024-04-23 86/week @ 2024-04-30

1,059 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
~37K SLoC