[package]
edition = "2021"
name = "pqfile"
version = "4.2.2"
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"
[features]
async = ["tokio"]
timing-tests = []
[lib]
name = "pqfile"
path = "src/lib.rs"
[[example]]
name = "ct_shamir"
path = "examples/ct_shamir.rs"
[[example]]
name = "gen_compat_vectors"
path = "examples/gen_compat_vectors.rs"
[[example]]
name = "gen_vectors"
path = "examples/gen_vectors.rs"
[[test]]
name = "compat"
path = "tests/compat.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "static_vectors"
path = "tests/static_vectors.rs"
[[test]]
name = "vectors"
path = "tests/vectors.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.1"
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.tokio]
version = "1"
features = ["io-util"]
optional = true
[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.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.keyring-core]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2]
version = "0.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13.3"
[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils-keyring-store]
version = "1"
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1"
features = ["keychain"]
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1"