[package] name = "concrete-shortint" version = "0.1.1" edition = "2021" authors = ["Zama team"] license = "BSD-3-Clause-Clear" description = "Homomorphic Short Integer interface for the concrete FHE library." homepage = "https://www.zama.ai/concrete-framework" documentation = "https://docs.zama.ai/concrete/" repository = "https://github.com/zama-ai/concrete" readme = "README.md" keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"] exclude = ["/docs/"] [dependencies] serde = { version = "1.0", features = ["derive"] } # both utils and lazy_static are used for the keycache # they both are deps to allow usage in bench in integer crate # and dev-deps to automatically enable them in tests concrete-utils = { path = "../concrete-utils", version = "0.2.0", optional = true } lazy_static = { version = "1.4.0", optional = true } [target.'cfg(target_arch = "x86_64")'.dependencies.concrete-core] version = "1.0.0" features = [ "backend_default", "backend_fft", "backend_default_serialization", "backend_fft_serialization", "backend_default_parallel", "backend_default_generator_x86_64_aesni", "seeder_x86_64_rdseed", ] [target.'cfg(target_arch = "aarch64")'.dependencies.concrete-core] version = "1.0.0" features = [ "backend_default", "backend_fft", "backend_default_serialization", "backend_fft_serialization", "backend_default_parallel", "backend_default_generator_aarch64_aes" ] [dev-dependencies] rand = "0.8.4" criterion = "0.3.4" paste = "1.0.7" bincode = "1.3.3" doc-comment = "0.3.3" concrete-utils = { path = "../concrete-utils", version = "0.2.0" } lazy_static = { version = "1.4.0" } [features] # Keychache used to speed up tests and benches # by not requiring to regererate keys at each launch internal-keycache = ["concrete-utils", "lazy_static"] nightly-avx512 = ["concrete-core/backend_fft_nightly_avx512"] [package.metadata.docs.rs] rustdoc-args = ["--html-in-header", "katex-header.html"] [[bench]] name = "bench" harness = false required-features = ['internal-keycache']