Cargo Features
[dependencies]
zeroize = { version = "1.8.1", default-features = false, features = ["std", "alloc", "aarch64", "derive", "simd", "serde"] }
- default = alloc
-
The
alloc
feature is set by default wheneverzeroize
is added without
somewhere in the dependency tree.default-features = false - std = alloc
- alloc default std?
- aarch64
-
NOTE: vestigial no-op feature; AArch64 support is always enabled now
- derive = zeroize_derive
- simd
-
NOTE: MSRV 1.72
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- zeroize_derive derive?