forked from arkworks-rs/snark
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
121 lines (105 loc) · 3.01 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
[package]
name = "algebra"
version = "0.6.1"
authors = [
"Sean Bowe",
"Alessandro Chiesa",
"Matthew Green",
"Ian Miers",
"Pratyush Mishra",
"Howard Wu",
"Daniele Di Benedetto <[email protected]>",
"Marcelo Kaihara",
"Ulrich Haboeck <[email protected]>",
"Maksym Vereshchak <[email protected]>",
"Luigi Varriale <[email protected]>",
"cronicc <[email protected]>",
"Luca Giussani <[email protected]>",
"Daniele Di Tullio <[email protected]>",
"Nicholas Mainardi <[email protected]>",
"Michele d'Amico <[email protected]>",
]
description = "A library for finite fields, elliptic curves and FFTs evaluation over prime finite fields"
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2018"
build = "build.rs"
################################# Dependencies ################################
[dependencies]
algebra-derive = { path = "algebra-derive", optional = true }
num-bigint = { version = "0.4.3", default-features = false }
field-assembly = { path = "./field-assembly" }
bench-utils = { path = "../bench-utils", optional = true }
byteorder = { version = "1.4.3" }
rand = { version = "0.8.4" }
derivative = { version = "2.2.0", features = ["use_core"] }
colored = { version = "2.0.0", optional = true }
rayon = { version = "1.5.1", optional = true }
rayon-core = { version = "1.9.1", optional = true }
unroll = "0.1.5"
serde = { version = "1.0.130", features = ["derive"] }
log = { version = "0.4.0", features = ["std"] }
[dev-dependencies]
blake2 = "0.8.1"
rand_xorshift = { version = "0.3.0" }
paste = "1.0.6"
criterion = "0.5"
hex-literal = "0.3.4"
num-traits = { version = "0.2.14", default-features = false }
num-bigint = { version = "0.4.3", features = ["rand"] }
[features]
parallel = ["rayon"]
fft = ["rayon", "derive"]
n_fold = []
asm = []
derive = ["algebra-derive"]
bls12_377 = []
bls12_381 = ["jubjub"]
edwards_bls12 = ["bls12_377"]
edwards_sw6 = ["sw6"]
jubjub = []
sw6 = ["bls12_377"]
mnt4_753 = ["mnt6_753"]
mnt6_298 = []
mnt6_753 = ["mnt4_753"]
bn_382 = []
tweedle = []
secp256k1 = []
ed25519 = []
full = [
"bls12_377",
"bls12_381",
"sw6",
"mnt4_753",
"mnt6_298",
"mnt6_753",
"edwards_bls12",
"edwards_sw6",
"jubjub",
"bn_382",
"tweedle",
"secp256k1",
"ed25519",
]
[build-dependencies]
rustc_version = "0.4.0"
[[bench]]
name = "fft_bn382"
path = "benches/criterion_fft/fft_bn382.rs"
harness = false
required-features = ["parallel", "fft", "bench-utils"]
[[bench]]
name = "fft_tweedle"
path = "benches/criterion_fft/fft_tweedle.rs"
harness = false
required-features = ["parallel", "fft", "bench-utils"]
[[bench]]
name = "variable_msm_bn382"
path = "benches/criterion_msm/variable_msm_bn382.rs"
harness = false
required-features = ["parallel", "fft", "bench-utils"]
[[bench]]
name = "variable_msm_tweedle"
path = "benches/criterion_msm/variable_msm_tweedle.rs"
harness = false
required-features = ["parallel", "fft", "bench-utils"]