secure-string 0.3.0

A data type suitable for storing sensitive information such as passwords and private keys in memory, featuring constant time equality, mlock and zeroing out.
Documentation
Build #2299048 2025-07-07 22:46:49
# rustc version
rustc 1.90.0-nightly (a84ab0ce6 2025-07-06)# docs.rs version
docsrs 0.6.0 (c1135d19 2025-07-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/secure-string-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/secure-string-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250706-1.90.0-nightly-a84ab0ce6\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--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\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 88726e537413f069a69258277c136d477c8ba586dda890eefdd4e12e004b9910
[INFO] running `Command { std: "docker" "start" "-a" "88726e537413f069a69258277c136d477c8ba586dda890eefdd4e12e004b9910", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting secure-string v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/boxed.rs:91:16
[INFO] [stderr]    |
[INFO] [stderr] 91 |     #[cfg_attr(feature = "pre", pre::pre)]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:12:16
[INFO] [stderr]    |
[INFO] [stderr] 12 |     #[cfg_attr(feature = "pre", pre::pre)]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:30:16
[INFO] [stderr]    |
[INFO] [stderr] 30 |     #[cfg_attr(feature = "pre", pre::pre)]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:48:16
[INFO] [stderr]    |
[INFO] [stderr] 48 |     #[cfg_attr(feature = "pre", pre::pre)]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 |             feature = "pre",
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |             feature = "pre",
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `pre`
[INFO] [stderr]   --> src/secure_types/string.rs:54:13
[INFO] [stderr]    |
[INFO] [stderr] 54 |             feature = "pre",
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `serde`
[INFO] [stderr]    = help: consider adding `pre` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `secure-string` (lib doc) generated 7 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/secure_string/index.html
[INFO] running `Command { std: "docker" "inspect" "88726e537413f069a69258277c136d477c8ba586dda890eefdd4e12e004b9910", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88726e537413f069a69258277c136d477c8ba586dda890eefdd4e12e004b9910", kill_on_drop: false }`
[INFO] [stdout] 88726e537413f069a69258277c136d477c8ba586dda890eefdd4e12e004b9910