# 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.72" name = "tfhe-csprng" version = "0.4.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Cryptographically Secure PRNG used in the TFHE-rs library." homepage = "https://zama.ai/" documentation = "https://docs.zama.ai/tfhe-rs" readme = "README.md" keywords = [ "fully", "homomorphic", "encryption", "fhe", "cryptography", ] license = "BSD-3-Clause-Clear" repository = "https://github.com/zama-ai/tfhe-rs" [lib] name = "tfhe_csprng" path = "src/lib.rs" [[example]] name = "generate" path = "examples/generate.rs" required-features = [ "seeder_unix", "generator_fallback", ] [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false required-features = [ "seeder_x86_64_rdseed", "generator_x86_64_aesni", ] [dependencies.aes] version = "0.8.2" [dependencies.rayon] version = "1.5.0" optional = true [dev-dependencies.clap] version = "=4.4.4" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.rand] version = "0.8.3" [features] aarch64 = [ "parallel", "generator_aarch64_aes", "generator_fallback", ] aarch64-unix = [ "aarch64", "seeder_unix", ] generator_aarch64_aes = [] generator_fallback = [] generator_x86_64_aesni = [] parallel = ["rayon"] seeder_unix = [] seeder_x86_64_rdseed = [] x86_64 = [ "parallel", "seeder_x86_64_rdseed", "generator_x86_64_aesni", "generator_fallback", ] x86_64-unix = [ "x86_64", "seeder_unix", ] [target.'cfg(target_os = "macos")'.dependencies.libc] version = "0.2.133"