forked from zama-ai/concrete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (59 loc) · 2.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "concrete-shortint"
version = "0.1.0"
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"]
[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']