# 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 = "pqfile"
version = "3.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quantum-resistant file encryption: ML-KEM (512/768/1024), hybrid X25519+ML-KEM-768, ML-DSA-65 signing, multi-recipient, Shamir sharing"
homepage = "https://github.com/dangel34/PQ-File-Encryption"
documentation = "https://docs.rs/pqfile"
readme = "README.md"
keywords = [
    "encryption",
    "post-quantum",
    "ml-kem",
    "chacha20",
    "cryptography",
]
categories = [
    "cryptography",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/dangel34/PQ-File-Encryption"

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

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

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

[dependencies.argon2]
version = "0.5"
features = ["zeroize"]

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.getrandom]
version = "0.4"

[dependencies.hkdf]
version = "0.13"

[dependencies.ml-dsa]
version = "0.1.0"
features = [
    "getrandom",
    "zeroize",
]

[dependencies.ml-kem]
version = "0.3"
features = [
    "getrandom",
    "zeroize",
]

[dependencies.pem]
version = "3"

[dependencies.rayon]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.sha3]
version = "0.12"

[dependencies.thiserror]
version = "2"

[dependencies.x25519-dalek]
version = "2"
features = [
    "static_secrets",
    "zeroize",
]

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

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

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

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13.3"
