palisade-errors 0.3.0

Security-conscious error handling with operational security principles
Documentation
# 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 = "0.3.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]
async_std = ["dep:async-std"]
default = []
external_signaling = []
strict_severity = []
strict_taxonomy = []
tokio = ["dep:tokio"]
trusted_debug = []

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

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

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

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

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

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

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

[dependencies.async-std]
version = "1.13.2"
optional = true

[dependencies.smallvec]
version = "1.15.1"

[dependencies.tokio]
version = "1.49.0"
features = [
    "time",
    "rt",
    "macros",
    "rt-multi-thread",
]
optional = true

[dependencies.zeroize]
version = "1.7"
features = ["derive"]

[dev-dependencies.chrono]
version = "0.4.42"

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

[dev-dependencies.md5]
version = "0.8.0"

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

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

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

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