[package]
edition = "2024"
rust-version = "1.85.0"
name = "secrets"
version = "1.3.0"
authors = ["Stephen Touset <stephen@touset.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protected-access memory for cryptographic secrets"
homepage = "https://github.com/stouset/secrets"
documentation = "https://stouset.github.io/secrets"
readme = "README.md"
keywords = [
"crypto",
"cryptography",
"allocator",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stouset/secrets"
[features]
allow-coredumps = []
use-libsodium-sys = ["libsodium-sys"]
[lib]
name = "secrets"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2"
[dependencies.libsodium-sys]
version = "0.2"
optional = true
[dependencies.page_size]
version = "0.6"
[dev-dependencies.libsodium-sys]
version = "0.2"
[target.'cfg(target_family = "unix")'.build-dependencies.pkg-config]
version = "0.3"
[target.'cfg(target_family = "windows")'.build-dependencies.vcpkg]
version = "0.2"