Cargo Features
[dependencies]
pretty_assertions = { version = "1.4.1", default-features = false, features = ["std", "alloc", "unstable"] }
- default = std
-
The
std
feature is set by default wheneverpretty_assertions
is added without
somewhere in the dependency tree.default-features = false - std default
-
Use the Rust standard library. Exactly one of
std
andalloc
is required. - alloc
-
Use the
alloc
crate. Exactly one ofstd
andalloc
is required. - unstable
-
Enable unstable features. Requires nightly rustc.