arnaucube
arnaucube/phantom-zonePublic Self-hosted repository
phantom-zone/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "phantom-zone"
 3version = "0.1.0"
 4edition = "2021"
 5readme = "README.md"
 6repository = "https://github.com/gausslabs/phantom-zone"
 7license = "MIT"
 8keywords = ["fhe", "mpc", "cryptography"]
 9description = "Library for multi-party computation using fully-homomorphic encryption"
10
11[dependencies]
12itertools = "0.12.0"
13num-traits = "0.2.18"
14rand = "0.8.5"
15rand_chacha = "0.3.1"
16rand_distr = "0.4.3"
17rayon = "1.10.0"
18
19[dev-dependencies]
20criterion = "0.5.1"
21rayon = "1.10.0"
22num-bigint-dig = { version = "0.8.4", features = ["prime"] }
23
24[features]
25interactive_mp = []
26non_interactive_mp = []
27
28[[bench]]
29name = "ntt"
30harness = false
31
32[[bench]]
33name = "modulus"
34harness = false
35
36[[example]]
37name = "interactive_fheuint8"
38path = "./examples/interactive_fheuint8.rs"
39
40[[example]]
41name = "non_interactive_fheuint8"
42path = "./examples/non_interactive_fheuint8.rs"
43required-features = ["non_interactive_mp"]
44
45[[example]]
46name = "meeting_friends"
47path = "./examples/meeting_friends.rs"
48required-features = ["non_interactive_mp"]
49
50[[example]]
51name = "bomberman"
52path = "./examples/bomberman.rs"
53required-features = ["non_interactive_mp"]
54
55[[example]]
56name = "div_by_zero"
57path = "./examples/div_by_zero.rs"
58required-features = ["non_interactive_mp"]
59
60[[example]]
61name = "if_and_else"
62path = "./examples/if_and_else.rs"
63required-features = ["non_interactive_mp"]