-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
127 lines (101 loc) · 1.98 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
119
120
121
122
123
124
125
126
127
[package]
name = "rofl_crypto"
version = "0.1.0"
authors = ["Hidde Lycklama <[email protected]>", "mlei <[email protected]>"]
edition = "2018"
[lib]
name = "rofl_crypto"
crate-type = ["rlib", "dylib"]
[dependencies]
curve25519-dalek-ng = { version = "4.1", default-features = false, features = ["std", "avx2_backend"], optional = false }
proc-macro2 = { version = "1.0.28" }
#NOTE mlei: cannot be higher otherwise wont compile
packed_simd = { version = "0.3.8", package = "packed_simd_2" }
libc = "0.2.48"
bulletproofs="4.0.0"
fixed = "0.3.1"
rand = "0.8"
byteorder = "1.3.1"
serde_json = "1.0"
bincode = "1.3.1"
hashbrown = "0.1"
rayon = "1.0.3"
criterion = "0.3.4"
merlin = "3"
num_cpus = "1.10.0"
sha3 = "0.9.1"
serde = "1"
failure = "0.1"
clear_on_drop = "0.2"
itertools = "0.8.0"
chrono = "0.4.6"
bencher = "0.1.5"
reduce = "0.1.2"
[features]
fp8 = []
fp16 = []
fp32 = []
fp64 = []
frac0 = []
frac1 = []
frac2 = []
frac3 = []
frac4 = []
frac5 = []
frac6 = []
frac7 = []
frac8 = []
frac9 = []
frac10 = []
frac11 = []
frac12 = []
avx2_backend = ["curve25519-dalek-ng/avx2_backend"]
[profile.dev]
opt-level = 2
[profile.release]
opt-level = 3
[[bench]]
name = "rangeproof_bench"
harness = false
[[bench]]
name = "randproof_bench"
harness = false
[[bench]]
name = "squarerandproof_bench"
harness = false
[[bench]]
name = "squareproof_bench"
harness = false
[[bench]]
name = "l2rangeproof_bench"
harness = false
[[bench]]
name = "dlog_bench"
harness = false
[[bench]]
name = "addelgamal_bench"
harness = false
[[bench]]
name = "create_rangeproof_bench"
harness = false
[[bench]]
name = "create_randproof_bench"
harness = false
[[bench]]
name = "create_squarerandproof_bench"
harness = false
[[bench]]
name = "create_squareproof_bench"
harness = false
[[bench]]
name = "compressedrandproof_bench"
harness = false
[[bench]]
name = "create_compressedrandproof_bench"
harness = false
[[bench]]
name = "rangeproof_part36_bench"
harness = false
[[bin]]
name = "debug"
path = "src/bin/debug.rs"