[[bench]]
harness = false
name = "fixed_vs_raw"
path = "benches/fixed_vs_raw.rs"
[dependencies.base64]
optional = true
version = "0.22"
[dependencies.hex]
features = ["alloc"]
optional = true
version = "0.4"
[dependencies.rand]
optional = true
version = "0.9"
[dependencies.secrecy]
default-features = false
optional = true
version = "0.10"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.subtle]
optional = true
version = "2.5"
[dependencies.zeroize]
default-features = false
features = ["alloc", "zeroize_derive"]
optional = true
version = "1.8"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.serde_json]
version = "1.0"
[features]
conversions = ["dep:hex", "dep:base64", "dep:subtle"]
default = ["zeroize"]
rand = ["dep:rand"]
serde = ["dep:serde"]
zeroize = ["dep:zeroize", "dep:secrecy"]
[lib]
name = "secure_gate"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "no-std", "data-structures"]
description = "Zero-cost secure wrappers for secrets — stack for fixed, heap for dynamic"
documentation = "https://docs.rs/secure-gate"
edition = "2021"
keywords = ["crypto", "no-std", "security", "zeroize"]
license = "MIT OR Apache-2.0"
name = "secure-gate"
readme = "README.md"
repository = "https://github.com/Slurp9187/secure-gate"
version = "0.5.10"
[[test]]
name = "conversions_tests"
path = "tests/conversions_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "macros_paranoia_tests"
path = "tests/macros_paranoia_tests.rs"
[[test]]
name = "random_bytes_paranoia_tests"
path = "tests/random_bytes_paranoia_tests.rs"
[[test]]
name = "rng_tests"
path = "tests/rng_tests.rs"