# 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.2.1" authors = ["Eric Schorn "] description = "FIPS 203 (draft): 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 [[bench]] name = "benchmark" 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" [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 = []