# 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"
rust-version = "1.94.1"
name = "shadowforge"
version = "0.2.0"
build = "build.rs"
exclude = [
    "tests/corpus/**",
    "*.key",
    "*.stego",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quantum-resistant steganography toolkit for journalists and whistleblowers"
readme = "README.md"
keywords = [
    "steganography",
    "cryptography",
    "post-quantum",
    "privacy",
    "security",
]
categories = [
    "cryptography",
    "command-line-utilities",
    "multimedia",
]
license = "Apache-2.0"
repository = "https://github.com/greysquirr3l/shadowforge-rs"
resolver = "2"

[features]
adaptive = []
corpus = []
default = [
    "pdf",
    "corpus",
    "adaptive",
]
pdf = [
    "dep:pdfium-render",
    "dep:lopdf",
]
simd = ["reed-solomon-erasure/simd-accel"]

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

[[bin]]
name = "shadowforge"
path = "src/main.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "unicode",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4"

[dependencies.flate2]
version = "1"

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.hound]
version = "3.5"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "bmp",
    "jpeg",
    "gif",
]
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.indicatif]
version = "0.18"
features = ["rayon"]

[dependencies.lopdf]
version = "0.40"
optional = true

[dependencies.ml-dsa]
version = "=0.1.0-rc.8"

[dependencies.ml-kem]
version = "=0.3.0-rc.1"

[dependencies.num-bigint]
version = "0.4"
features = ["rand"]

[dependencies.num-traits]
version = "0.2"

[dependencies.pdfium-render]
version = "0.8"
features = ["thread_safe"]
optional = true

[dependencies.rand]
version = "0.10"

[dependencies.rand_chacha]
version = "0.10"

[dependencies.rand_core]
version = "0.10"

[dependencies.rayon]
version = "1"

[dependencies.reed-solomon-erasure]
version = "6.0"
features = ["simd-accel"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.6"
default-features = false

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1.11"

[dependencies.ureq]
version = "3"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.zeroize]
version = "1.8"
features = [
    "derive",
    "alloc",
]

[dependencies.zip]
version = "8"
features = ["deflate"]

[dev-dependencies.assert_cmd]
version = "2"

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

[dev-dependencies.predicates]
version = "3"

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

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.tempfile]
version = "3"

[build-dependencies.vergen]
version = "8"
features = [
    "git",
    "gitcl",
]

[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"
