forked from mortendahl/rust-paillier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (58 loc) · 1.33 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
[package]
name = "paillier"
version = "0.1.8-pre"
authors = [
"Mario Cornejo <[email protected]>",
"Morten Dahl <[email protected]>",
"Mathieu Poumeyrol <[email protected]>"
]
description = "A pure-Rust implementation of the Paillier encryption scheme"
keywords = [
"paillier",
"cryptography",
"homomorphic-encryption",
"secure-computation",
"zero-knowledge",
]
homepage = "https://github.com/mortendahl/rust-paillier"
repository = "https://github.com/mortendahl/rust-paillier"
documentation = "https://docs.rs/paillier"
license = "MIT/Apache-2.0"
categories = ["cryptography"]
#[badges]
#travis-ci = { repository = "mortendahl/rust-paillier" }
[features]
default = ["inclgmp", "defaultgmp", "keygen"]
keygen = []
inclramp = ["ramp"]
inclframp = ["framp"]
inclnum = ["num"]
inclgmp = ["rust-gmp"]
defaultramp = []
defaultframp = []
defaultnum = []
defaultgmp = []
[dependencies]
rand = "0.3"
num-traits = "0.1"
ramp = { version="0.3", optional=true }
framp = { version="0.3", optional=true }
num = { version="0.1", optional=true }
rust-gmp = { version="0.4", optional=true }
[dev-dependencies]
bencher = "0.1"
[[bench]]
name = "encryption"
harness = false
[[bench]]
name = "crt"
harness = false
[[bench]]
name = "keygen"
harness = false
[[bench]]
name = "arith"
harness = false
[[bench]]
name = "algo"
harness = false