Cargo Features
[dependencies]
pretty_assertions = { version = "1.4.1", default-features = false, features = ["std", "alloc", "unstable"] }
- default = std
-
The
stdfeature is set by default wheneverpretty_assertionsis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Use the Rust standard library. Exactly one of
stdandallocis required. - alloc
-
Use the
alloccrate. Exactly one ofstdandallocis required. - unstable
-
Enable unstable features. Requires nightly rustc.