# 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.74" name = "ml-kem" version = "0.2.1" build = false exclude = [ "tests/key-gen.rs", "tests/key-gen.json", "tests/encap-decap.rs", "tests/encap-decap.json", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ Pure Rust implementation of the Module-Lattice-Based Key-Encapsulation Mechanism Standard (formerly known as Kyber) as described in FIPS 203 """ homepage = "https://github.com/RustCrypto/KEMs/tree/master/ml-kem" readme = "README.md" keywords = [ "crypto", "kyber", "lattice", "post-quantum", ] categories = [ "cryptography", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/KEMs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ml_kem" path = "src/lib.rs" [[bench]] name = "mlkem" path = "benches/mlkem.rs" harness = false [dependencies.hybrid-array] version = "0.2.0-rc.9" features = ["extra-sizes"] [dependencies.kem] version = "0.3.0-pre.0" [dependencies.rand_core] version = "0.6.4" [dependencies.sha3] version = "0.10.8" default-features = false [dependencies.zeroize] version = "1.8.1" optional = true default-features = false [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.crypto-common] version = "0.1.6" features = ["rand_core"] [dev-dependencies.hex] version = "0.4.3" features = ["serde"] [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.num-rational] version = "0.4.2" features = ["num-bigint"] default-features = false [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0.208" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.125" [features] default = ["std"] deterministic = [] std = ["sha3/std"] zeroize = ["dep:zeroize"]