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 whenever pretty_assertions is added without default-features = false somewhere in the dependency tree.

std default

Use the Rust standard library. Exactly one of std and alloc is required.

alloc

Use the alloc crate. Exactly one of std and alloc is required.

unstable

Enable unstable features. Requires nightly rustc.