Cargo Features
[dependencies]
redact = { version = "0.1.10", default-features = false, features = ["std", "fake", "serde", "zeroize"] }
- default = std
-
The
std
feature is set by default wheneverredact
is added without
somewhere in the dependency tree.default-features = false - std default
-
impl std::error::Error for Secret<E> where E: Error
- fake
- serde
-
Enables serde
Affects
redact::serde
,serde::expose_secret
,serde::redact_secret
… - zeroize
-
Enables zeroize