zeroize 0.5.0

Securely zero memory with using a simple trait built on stable Rust primitives which guarantee they will not be 'optimized away' by leveraging LLVM's volatile write semantics and memory fences. No weird tricks, 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
Build #674921 2022-11-17 08:32:48

# rustc version rustc 1.67.0-nightly (e9493d63c 2022-11-16)

# docs.rs version docsrs 0.6.0 (2e5ef9b6 2022-11-15)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/zeroize-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/zeroize-0.5.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221116-1.67.0-nightly-e9493d63c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] e9e1e017c62cd94f573048cc176abdb36e53b8679d87147134be07123d605659 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9e1e017c62cd94f573048cc176abdb36e53b8679d87147134be07123d605659", kill_on_drop: false }` [INFO] [stderr] Documenting zeroize v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "e9e1e017c62cd94f573048cc176abdb36e53b8679d87147134be07123d605659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e1e017c62cd94f573048cc176abdb36e53b8679d87147134be07123d605659", kill_on_drop: false }` [INFO] [stdout] e9e1e017c62cd94f573048cc176abdb36e53b8679d87147134be07123d605659