forked from kobigurk/cpsnarks-set
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
118 lines (94 loc) · 2.73 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "cpsnarks-set"
version = "0.1.0"
authors = ["Kobi Gurkan <[email protected]>"]
edition = "2018"
exclude = [ "src/protocols/hash_to_prime/*"]
[dependencies]
gmp-mpfr-sys = "1.2.2"
accumulator = { git = "https://github.com/matteocam/cpsnarks-set-accumulator" }
quick-error = "1.2.3"
rug = { version = "=1.7.0", features = ["serde", "integer"] }
merlin = "2.0.0"
rand = { version = "0.7" }
curve25519-dalek = { version = "3", optional = true, features = ["serde"] }
#curve25519-dalek = "3.0.0"
bulletproofs = { git = "https://github.com/matteocam/bulletproofs", branch = "develop", optional = true, features = ["yoloproofs"] }
digest = "0.8.1"
blake2 = ">= 0.8.1"
cfg-if = "0.1"
num-bigint = {version = "0.3", default-features = false }
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
num-traits = {version = " >= 0.2.14", default-features = false }
serde = { version = "1.0.118", features = ["derive"] }
#ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std", default-features = false }
ark-serialize = { version = "0.3", default-features = false, features = [ "derive" ] }
ark-ec = { version = "0.3", default-features = false }
ark-ff = { version = "0.3", default-features = false }
ark-std = { version = "0.3", default-features = false}
ark-poly = { version = "0.3", default-features = false }
ark-relations = { version = "0.3", default-features = false }
ark-poly-commit = { version = "0.3", default-features = false }
rug-binserial = { git = "https://github.com/matteocam/rug-binserial" }
proofsize_derive = "0.1.0"
[features]
dalek = ["curve25519-dalek", "bulletproofs"]
class = []
default = ["dalek"]
zexe = []
[dev-dependencies]
criterion = "0.3"
[lib]
bench = false
[[bench]]
name = "root"
harness = false
required-features = ["zexe"]
[[bench]]
name = "modeq"
harness = false
required-features = ["zexe"]
[[bench]]
name = "rsa"
harness = false
required-features = ["zexe"]
[[bench]]
name = "membership_prime"
harness = false
required-features = ["zexe"]
[[bench]]
name = "nonmembership_prime"
harness = false
required-features = ["zexe"]
[[bench]]
name = "membership_hash"
harness = false
required-features = ["zexe"]
[[bench]]
name = "membership_class"
harness = false
required-features = ["zexe", "class"]
[[bench]]
name = "membership_bp"
harness = false
required-features = ["dalek"]
[[bench]]
name = "snark_range"
harness = false
required-features = ["zexe"]
[[bench]]
name = "membership_prime_60"
harness = false
required-features = ["zexe"]
[[bench]]
name = "membership_bp_60"
harness = false
required-features = ["dalek"]
[[bench]]
name = "nonmembership_hash"
harness = false
required-features = ["zexe"]
[[bench]]
name = "nonmembership_bp"
harness = false
required-features = ["dalek"]