Crate features / pretty_assertions
Feature flags · pretty_assertions 1.4.1 · from crates.io 2026-10-24
pretty_assertions features: what each one does, and the line to copy
Short answerpretty_assertions 1.4.1 has 3 features. By default it turns on std; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
std | yes | nothing else (a switch the code checks) |
unstable | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
More on pretty_assertions
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2018
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?