# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "secure-gate"
version = "0.5.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-cost secure wrappers for secrets — stack for fixed, heap for dynamic"
documentation = "https://docs.rs/secure-gate"
readme = "README.md"
keywords = [
    "crypto",
    "no-std",
    "security",
    "zeroize",
]
categories = [
    "cryptography",
    "no-std",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Slurp9187/secure-gate"

[features]
default = ["zeroize"]
serde = ["dep:serde"]
zeroize = [
    "dep:zeroize",
    "dep:secrecy",
]

[lib]
name = "secure_gate"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "macros_tests"
path = "tests/macros_tests.rs"

[[bench]]
name = "fixed_vs_raw"
path = "benches/fixed_vs_raw.rs"
harness = false

[dependencies.secrecy]
version = "0.10"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.zeroize]
version = "1.8"
features = [
    "alloc",
    "zeroize_derive",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1.0"
