# 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 = "2018" name = "pqc_kyber" version = "0.7.1" authors = ["Mitchell Berry "] description = "A rust implementation of the post-quantum Kyber KEM algorithm" documentation = "https://docs.rs/crate/pqc_kyber/" readme = "readme.md" keywords = [ "kyber", "kem", "key-exchange", "kex", "post-quantum", ] categories = [ "algorithms", "cryptography", "wasm", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/Argyle-Software/kyber" [profile.test] opt-level = 2 [profile.test.package."*"] opt-level = 0 [profile.test.build-override] opt-level = 0 [lib] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "api" harness = false [dependencies.aes] version = "0.8.3" optional = true [dependencies.criterion] version = "0.4.0" features = ["html_reports"] optional = true [dependencies.ctr] version = "0.9.2" optional = true [dependencies.getrandom] version = "0.2.10" features = ["js"] optional = true [dependencies.rand] version = "0.8.5" features = ["getrandom"] optional = true default-features = false [dependencies.rand_core] version = "0.6.4" default-features = false [dependencies.sha2] version = "0.10.7" optional = true default-features = false [dependencies.wasm-bindgen] version = "0.2.87" optional = true [dependencies.zeroize] version = "1.6.0" features = ["derive"] optional = true [dev-dependencies.rand] version = "0.8.5" [build-dependencies.cc] version = "1.0.73" optional = true [build-dependencies.nasm-rs] version = "0.2.4" optional = true [features] 90s = ["sha2"] 90s-fixslice = [ "90s", "aes", "ctr", ] avx2 = ["cc"] benchmarking = ["criterion"] hazmat = [] kyber1024 = [] kyber512 = [] kyber768 = [] nasm = [ "nasm-rs", "avx2", ] std = [] wasm = [ "wasm-bindgen", "getrandom", "rand", ]