# 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"
rust-version = "1.89"
name = "oxicrypto-pq"
version = "0.1.3"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-quantum cryptography for OxiCrypto: ML-KEM (FIPS 203) + ML-DSA (FIPS 204)"
readme = "README.md"
keywords = [
    "cryptography",
    "post-quantum",
    "ml-kem",
    "ml-dsa",
    "kyber",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicrypto"

[features]
default = []
hazmat-test-vectors = []

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ml-dsa]
version = "0.1.0"
features = [
    "alloc",
    "rand_core",
    "zeroize",
]
default-features = false

[dependencies.ml-kem]
version = "0.3.2"
features = [
    "alloc",
    "hazmat",
    "zeroize",
]
default-features = false

[dependencies.oxicrypto-core]
version = "0.1.3"

[dependencies.oxicrypto-kdf]
version = "0.1.3"

[dependencies.oxicrypto-kex]
version = "0.1.3"

[dependencies.oxicrypto-rand]
version = "0.1.3"

[dependencies.rand_chacha]
version = "0.10.0"
default-features = false

[dependencies.rand_core]
version = "0.10.1"
default-features = false

[dependencies.sha3]
version = "0.12.0"
default-features = false

[dependencies.slh-dsa]
version = "0.2.0-rc.5"
features = ["alloc"]

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

[dependencies.zeroize]
version = "1.8.2"
features = [
    "derive",
    "alloc",
]
default-features = false

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

[dev-dependencies.ed25519-dalek]
version = "2.2.0"
features = ["rand_core"]
default-features = false

[dev-dependencies.shake]
version = "0.1.0"
features = ["alloc"]
default-features = false

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