[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dependencies.zeroize_derive]
optional = true
version = "1.3"
[features]
aarch64 = []
alloc = []
default = ["alloc"]
derive = ["zeroize_derive"]
simd = []
std = ["alloc"]
[lib]
name = "zeroize"
path = "src/lib.rs"
[package]
authors = ["The RustCrypto Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "memory-management", "no-std", "os"]
description = """
Securely clear secrets from memory with a simple trait built on
stable Rust primitives which guarantee memory is zeroed using an
operation will not be 'optimized away' by the compiler.
Uses a portable pure Rust implementation that works everywhere,
even WASM!
"""
edition = "2021"
homepage = "https://github.com/RustCrypto/utils/tree/master/zeroize"
keywords = ["memory", "memset", "secure", "volatile", "zero"]
license = "Apache-2.0 OR MIT"
name = "zeroize"
readme = "README.md"
repository = "https://github.com/RustCrypto/utils"
rust-version = "1.60"
version = "1.8.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "zeroize"
path = "tests/zeroize.rs"
[[test]]
name = "zeroize_derive"
path = "tests/zeroize_derive.rs"