-
Notifications
You must be signed in to change notification settings - Fork 121
/
Cargo.toml
74 lines (66 loc) · 1.86 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
[package]
name = "spartan"
version = "0.8.0"
authors = ["Srinath Setty <[email protected]>"]
edition = "2021"
description = "High-speed zkSNARKs without trusted setup"
documentation = "https://docs.rs/spartan/"
readme = "README.md"
repository = "https://github.com/microsoft/Spartan"
license-file = "LICENSE"
keywords = ["zkSNARKs", "cryptography", "proofs"]
[dependencies]
curve25519-dalek = { version = "4.1.1", features = [
"serde",
"alloc",
"rand_core",
], default-features = false }
merlin = { version = "3.0.0", default-features = false }
rand = "0.8"
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
digest = { version = "0.8.1", default-features = false }
sha3 = { version = "0.8.2", default-features = false }
byteorder = { version = "1.3.4", default-features = false }
rayon = { version = "1.3.0", optional = true }
serde = { version = "1.0.106", features = ["derive"], default-features = false }
bincode = { version = "1.3.3", default-features = false }
subtle = { version = "2.4", features = ["i128"], default-features = false }
itertools = { version = "0.10.0", default-features = false }
colored = { version = "2.0.0", default-features = false, optional = true }
flate2 = { version = "1.0.14" }
[dev-dependencies]
criterion = "0.3.1"
[lib]
name = "libspartan"
path = "src/lib.rs"
[[bin]]
name = "snark"
path = "profiler/snark.rs"
required-features = ["std"]
[[bin]]
name = "nizk"
path = "profiler/nizk.rs"
required-features = ["std"]
[[bench]]
name = "snark"
harness = false
required-features = ["std"]
[[bench]]
name = "nizk"
harness = false
required-features = ["std"]
[features]
default = ["std"]
std = [
"digest/std",
"merlin/std",
"rand/std",
"sha3/std",
"byteorder/std",
"serde/std",
"subtle/std",
"itertools/use_std",
"flate2/rust_backend",
]
multicore = ["rayon"]
profile = ["colored"]