palisade-errors 2.0.0

Security-conscious error handling with operational security principles
# 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 = "2024"
name = "palisade-errors"
version = "2.0.0"
authors = ["Guilherme F. G. Santos <strukturaenterprise@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Security-conscious error handling with operational security principles"
documentation = "https://docs.rs/palisade_errors"
readme = "README.md"
keywords = [
    "error",
    "security",
    "zeroize",
    "opsec",
    "forensics",
]
categories = [
    "development-tools::debugging",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/guivernoir/palisade-errors"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
log = []
strict_severity = []
trusted_debug = []

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "encrypted_logging"
path = "examples/encrypted_logging.rs"
required-features = ["log"]

[[example]]
name = "timing_normalization"
path = "examples/timing_normalization.rs"

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

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

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

[dependencies.crypto_bastion]
version = "0.4.0"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.stats_alloc]
version = "0.1.10"

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1