zeroize 0.5.2

Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee they will be zeroed out using an operation will not be 'optimized away' by the compiler. Uses a portable implementation that leverages LLVM's volatile write semantics and memory fences. No weird tricks, no FFI/ASM, no insecure fallbacks, no dependencies, no std, just a trait implemented for all of Rust's core scalar types and slices/iterators thereof for securely zeroing memory.
Documentation

zeroize

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 3 feature flags, 2 of them enabled by default.

default

std (default)

alloc (default)

This feature flag does not enable additional features.

nightly

This feature flag does not enable additional features.