crypt_guard 2.0.5

CryptGuard is a post-quantum cryptography framework with NIST FIPS 203/204/205 (ML-KEM, ML-DSA, SLH-DSA) plus legacy Kyber/Falcon/Dilithium, combined with AES and XChaCha20.
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 = "2021"
name = "crypt_guard"
version = "2.0.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CryptGuard is a post-quantum cryptography framework with NIST FIPS 203/204/205 (ML-KEM, ML-DSA, SLH-DSA) plus legacy Kyber/Falcon/Dilithium, combined with AES and XChaCha20."
readme = "README.md"
license = "MIT"
repository = "https://github.com/mm9942/crypt_guard"

[features]
aes-ctr = ["dep:ctr"]
aes-gcm-siv-cipher = []
aes-xts = ["dep:xts-mode"]
archive = [
    "dep:tar",
    "dep:xz2",
    "dep:flate2",
    "dep:walkdir",
]
default = [
    "ml-kem-backend",
    "ml-dsa-backend",
]
legacy-aes = [
    "dep:aes",
    "dep:cbc",
    "dep:block-padding",
]
legacy-pqclean = [
    "dep:pqcrypto-kyber",
    "dep:pqcrypto-falcon",
    "dep:pqcrypto-dilithium",
    "dep:pqcrypto-traits",
    "aes-gcm-siv-cipher",
    "xchacha20poly1305-cipher",
    "archive",
    "zip",
    "aes-ctr",
    "aes-xts",
    "legacy-aes",
]
ml-dsa-backend = ["dep:ml-dsa"]
ml-kem-backend = ["dep:ml-kem"]
sign-slhdsa = ["dep:slh-dsa"]
xchacha20poly1305-cipher = []
zip = ["dep:zip"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.8.4"
optional = true

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

[dependencies.aes-gcm-siv]
version = "0.11.1"

[dependencies.block-padding]
version = "0.3.3"
optional = true

[dependencies.cbc]
version = "0.1.2"
features = [
    "alloc",
    "std",
]
optional = true

[dependencies.chacha20]
version = "0.9.1"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chrono]
version = "0.4.37"

[dependencies.crrl]
version = "=0.9.0"
features = ["x448"]
default-features = false

[dependencies.crypt_guard_proc]
version = "2.0.5"

[dependencies.ctr]
version = "0.9.2"
optional = true

[dependencies.digest]
version = "0.10.7"

[dependencies.flate2]
version = "1.0.35"
optional = true

[dependencies.generic-array]
version = "1.1.0"

[dependencies.getrandom]
version = "0.4.2"
features = ["std"]

[dependencies.hex]
version = "0.4.3"

[dependencies.hkdf]
version = "0.13.0"

[dependencies.hmac]
version = "0.12.1"

[dependencies.hpke]
version = "=0.13.0"
features = [
    "std",
    "x25519",
    "p256",
    "p384",
    "p521",
]
default-features = false

[dependencies.libcrux-ml-kem]
version = "=0.0.9"
features = [
    "std",
    "mlkem512",
    "mlkem768",
    "mlkem1024",
]
default-features = false

[dependencies.ml-dsa]
version = "0.1.1"
features = [
    "zeroize",
    "rand_core",
]
optional = true

[dependencies.ml-kem]
version = "0.3.2"
features = ["zeroize"]
optional = true

[dependencies.once_cell]
version = "1"

[dependencies.p256]
version = "=0.13.2"
features = ["arithmetic"]
default-features = false

[dependencies.p384]
version = "=0.13.1"
features = ["arithmetic"]
default-features = false

[dependencies.pqcrypto-dilithium]
version = "0.5.0"
optional = true

[dependencies.pqcrypto-falcon]
version = "0.3.0"
optional = true

[dependencies.pqcrypto-kyber]
version = "0.8.1"
optional = true

[dependencies.pqcrypto-traits]
version = "0.3.5"
optional = true

[dependencies.rand]
version = "0.8.5"

[dependencies.rand_core_010]
version = "0.10"
package = "rand_core"

[dependencies.rand_core_09]
version = "0.9.5"
features = ["os_rng"]
package = "rand_core"

[dependencies.sha2]
version = "0.10.8"

[dependencies.sha2_011]
version = "0.11"
package = "sha2"

[dependencies.sha3]
version = "=0.11.0"

[dependencies.slh-dsa]
version = "0.2.0-rc.5"
optional = true

[dependencies.tar]
version = "0.4.43"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "registry",
    "time",
]

[dependencies.turboshake]
version = "=0.7.1"
features = ["zeroize"]
default-features = false

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dependencies.x25519-dalek]
version = "=2.0.1"
features = [
    "static_secrets",
    "zeroize",
]
default-features = false

[dependencies.xts-mode]
version = "0.5.1"
optional = true

[dependencies.xz2]
version = "0.1.7"
features = ["static"]
optional = true

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

[dependencies.zip]
version = "2.2.2"
optional = true

[dev-dependencies.serde]
version = "=1.0.228"
features = ["derive"]

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

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

[dev-dependencies.trybuild]
version = "=1.0.117"