# 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.70" name = "fips203" version = "0.4.1" authors = ["Eric Schorn "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism" documentation = "https://docs.rs/fips203" readme = "README.md" keywords = [ "kem", "FIPS203", "lattice", "kyber", "encapsulation", ] categories = [ "cryptography", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/integritychain/fips203" [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [profile.dev] debug = 2 [profile.release] opt-level = "s" lto = true codegen-units = 1 [lib] name = "fips203" path = "src/lib.rs" [[test]] name = "fails" path = "tests/fails.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "native" path = "tests/native.rs" [[test]] name = "vectors" path = "tests/vectors.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.rand_core] version = "0.6.4" default-features = false [dependencies.sha3] version = "0.10.2" default-features = false [dependencies.subtle] version = "2.5.0" features = ["const-generics"] default-features = false [dependencies.zeroize] version = "1.6.0" features = ["zeroize_derive"] default-features = false [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.flate2] version = "1.0.27" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.regex] version = "1.10.2" [dev-dependencies.serde_json] version = "1.0.127" features = [] [features] default = [ "default-rng", "ml-kem-512", "ml-kem-768", "ml-kem-1024", ] default-rng = ["rand_core/getrandom"] ml-kem-1024 = [] ml-kem-512 = [] ml-kem-768 = []