# 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 = "fips204" version = "0.4.5" authors = ["Eric Schorn "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "FIPS 204: Module-Lattice-Based Digital Signature" documentation = "https://docs.rs/fips204" readme = "README.md" keywords = [ "FIPS204", "lattice", "dilithium", "signature", ] categories = [ "cryptography", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/integritychain/fips204" [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [profile.dev] opt-level = 1 debug = 2 [profile.release] opt-level = "s" lto = true codegen-units = 1 [lib] name = "fips204" path = "src/lib.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "messages" path = "tests/messages.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.rand_core] version = "0.6.4" default-features = false [dependencies.sha2] version = "0.10.8" default-features = false [dependencies.sha3] version = "0.10.2" default-features = false [dependencies.zeroize] version = "1.6.0" features = ["zeroize_derive"] default-features = false [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.hex] version = "0.4.3" [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-dsa-44", "ml-dsa-65", "ml-dsa-87", ] default-rng = ["rand_core/getrandom"] dudect = [] ml-dsa-44 = [] ml-dsa-65 = [] ml-dsa-87 = []