[[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.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"
[features]
conversions = ["dep:hex", "dep:base64", "dep:subtle"]
default = ["zeroize"]
full = ["zeroize", "rand", "conversions"]
rand = ["dep:rand"]
zeroize = ["dep:zeroize"]
[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.6.1"
[[test]]
name = "conversions_edge_cases_tests"
path = "tests/conversions_edge_cases_tests.rs"
[[test]]
name = "conversions_tests"
path = "tests/conversions_tests.rs"
[[test]]
name = "dynamic_tests"
path = "tests/dynamic_tests.rs"
[[test]]
name = "fixed_tests"
path = "tests/fixed_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "macros_edge_cases_tests"
path = "tests/macros_edge_cases_tests.rs"
[[test]]
name = "macros_tests"
path = "tests/macros_tests.rs"
[[test]]
name = "no_clone_edge_cases_tests"
path = "tests/no_clone_edge_cases_tests.rs"
[[test]]
name = "no_clone_tests"
path = "tests/no_clone_tests.rs"
[[test]]
name = "rng_edge_cases_tests"
path = "tests/rng_edge_cases_tests.rs"
[[test]]
name = "rng_tests"
path = "tests/rng_tests.rs"