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

#29 in #quickcheck

Download history 155/week @ 2024-11-16 133/week @ 2024-11-23 127/week @ 2024-11-30 185/week @ 2024-12-07 141/week @ 2024-12-14 197/week @ 2024-12-21 93/week @ 2024-12-28 221/week @ 2025-01-04 254/week @ 2025-01-11 437/week @ 2025-01-18 188/week @ 2025-01-25 241/week @ 2025-02-01 272/week @ 2025-02-08 322/week @ 2025-02-15 267/week @ 2025-02-22 257/week @ 2025-03-01

1,154 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
~40K SLoC