mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 22:28:01 -05:00
BREAKING_CHANGE: - The `generator_x86_64_aesni` feature is no longer supported for tfhe-csprng
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "tfhe-csprng"
|
|
version = "0.4.1"
|
|
edition = "2021"
|
|
license = "BSD-3-Clause-Clear"
|
|
description = "Cryptographically Secure PRNG used in the TFHE-rs library."
|
|
homepage = "https://zama.ai/"
|
|
documentation = "https://docs.zama.ai/tfhe-rs"
|
|
repository = "https://github.com/zama-ai/tfhe-rs"
|
|
readme = "README.md"
|
|
keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"]
|
|
rust-version = "1.72"
|
|
|
|
[dependencies]
|
|
aes = "0.8.2"
|
|
rayon = { workspace = true , optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
libc = "0.2.133"
|
|
|
|
[dev-dependencies]
|
|
rand = { workspace = true }
|
|
criterion = "0.5.1"
|
|
clap = "=4.4.4"
|
|
|
|
[features]
|
|
parallel = ["rayon"]
|
|
generator_fallback = []
|
|
generator_aarch64_aes = []
|
|
|
|
x86_64 = ["parallel", "generator_fallback"]
|
|
x86_64-unix = ["x86_64"]
|
|
aarch64 = ["parallel", "generator_aarch64_aes", "generator_fallback"]
|
|
aarch64-unix = ["aarch64"]
|
|
software_prng = []
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
path = "benches/benchmark.rs"
|
|
harness = false
|
|
|
|
[[example]]
|
|
name = "generate"
|
|
path = "examples/generate.rs"
|
|
required-features = ["generator_fallback"]
|