| 1 | [package] |
| 2 | name = "zeroize" |
| 3 | version = "1.8.1" |
| 4 | description = "" " |
| 5 | Securely clear secrets from memory with a simple trait built on |
| 6 | stable Rust primitives which guarantee memory is zeroed using an |
| 7 | operation will not be 'optimized away' by the compiler. |
| 8 | Uses a portable pure Rust implementation that works everywhere, |
| 9 | even WASM! |
| 10 | " "" |
| 11 | authors = ["The RustCrypto Project Developers" ] |
| 12 | license = "Apache-2.0 OR MIT" |
| 13 | repository = "https://github.com/RustCrypto/utils/tree/master/zeroize" |
| 14 | readme = "README.md" |
| 15 | categories = ["cryptography" , "memory-management" , "no-std" , "os" ] |
| 16 | keywords = ["memory" , "memset" , "secure" , "volatile" , "zero" ] |
| 17 | edition = "2021" |
| 18 | rust-version = "1.60" |
| 19 | |
| 20 | [dependencies] |
| 21 | serde = { version = "1.0" , default-features = false, optional = true } |
| 22 | zeroize_derive = { version = "1.3" , path = "../zeroize_derive" , optional = true } |
| 23 | |
| 24 | [features] |
| 25 | default = ["alloc" ] |
| 26 | alloc = [] |
| 27 | std = ["alloc" ] |
| 28 | |
| 29 | aarch64 = [] # NOTE: vestigial no-op feature; AArch64 support is always enabled now |
| 30 | derive = ["zeroize_derive" ] |
| 31 | simd = [] # NOTE: MSRV 1.72 |
| 32 | |
| 33 | [package.metadata.docs.rs] |
| 34 | all-features = true |
| 35 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 36 | |