Crate features / proptest
Feature flags · proptest 1.12.0 · from crates.io 2026-10-24
proptest features: what each one does, and the line to copy
Short answerproptest 1.12.0 has 13 features. By default it turns on std, fork, timeout, bit-set; add default-features = false to start from nothing. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
atomic64bit | nothing else (a switch the code checks) | |
attr-macro | proptest-macro | |
bit-set | yes | dep:bit-set, dep:bit-vec |
default-code-coverage | std, fork, timeout, bit-set | |
f16 | nothing else (a switch the code checks) | |
fork | yes | std, rusty-fork, tempfile |
handle-panics | std | |
hardware-rng | x86 | |
no_std | num-traits/libm | |
std | yes | rand/std, rand/sys_rng, regex-syntax, num-traits/std |
timeout | yes | fork, rusty-fork/timeout |
unstable | f16 |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version proptest declares (rust-version), and the release that changed it:
- 1.2.0 (2023-05-23): Rust 1.60
- 1.3.0 (2023-09-30): Rust 1.64
- 1.4.0 (2023-11-10): Rust 1.65
- 1.7.0 (2025-06-07): Rust 1.66
- 1.8.0 (2025-09-20): Rust 1.74
- 1.9.0 (2025-10-26): Rust 1.82
- 1.10.0 (2026-02-05): Rust 1.84
- 1.11.0 (2026-03-24): Rust 1.85
- 1.12.0 (2026-10-10): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p proptest --precise <version>, or use resolver 3, which picks compatible versions for you.
More on proptest
Real downloads, dependents and alternatives: proptest crate data (663.4K real downloads a day, 12,243 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itproptest crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?