testudo/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "spartan"
3version = "0.7.1"
4authors = ["Srinath Setty <srinath@microsoft.com>"]
5edition = "2021"
6description = "High-speed zkSNARKs without trusted setup"
7documentation = "https://docs.rs/spartan/"
8readme = "README.md"
9repository = "https://github.com/microsoft/Spartan"
10license-file = "LICENSE"
11keywords = ["zkSNARKs", "cryptography", "proofs"]
12
13[dependencies]
14curve25519-dalek = {version = "3.2.0", features = ["serde"]}
15merlin = "3.0.0"
16digest = "0.8.1"
17sha3 = "0.8.2"
18byteorder = "1.3.4"
19rayon = { version = "1.3.0", optional = true }
20serde = { version = "1.0.106", features = ["derive"] }
21bincode = "1.2.1"
22subtle = { version = "2.4", default-features = false }
23rand_core = { version = "0.5", default-features = false }
24zeroize = { version = "1", default-features = false }
25itertools = "0.10.0"
26colored = "2.0.0"
27flate2 = "1.0.14"
28thiserror = "1.0"
29json = "0.12.4"
30ark-ff = { version = "^0.3.0", default-features = false }
31ark-ec = { version = "^0.3.0", default-features = false }
32ark-std = { version = "^0.3.0"}
33ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] }
34ark-serialize = { version = "^0.3.0", features = ["derive"] }
35ark-sponge = { version = "^0.3.0" , features = ["r1cs"] }
36ark-crypto-primitives = { version = "^0.3.0", default-features = true }
37ark-r1cs-std = { version = "^0.3.0", default-features = false }
38ark-nonnative-field = { version = "0.3.0", default-features = false }
39ark-relations = { version = "^0.3.0", default-features = false, optional = true }
40ark-snark = { version = "^0.3.0", default-features = false }
41ark-groth16 = { version = "^0.3.0", features = ["r1cs"] }
42ark-bw6-761 = { version = "^0.3.0" }
43ark-poly-commit = { version = "^0.3.0" }
44ark-poly = {version = "^0.3.0"}
45
46lazy_static = "1.4.0"
47rand = { version = "0.8", features = [ "std", "std_rng" ] }
48num-bigint = { version = "0.4" }
49
50tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
51tracing-subscriber = { version = "0.2" }
52
53
54[dev-dependencies]
55serde = { version = "1.0", features = ["derive"] }
56csv = "1.1.5"
57criterion = "0.3.6"
58
59[lib]
60name = "libspartan"
61path = "src/lib.rs"
62
63[[bin]]
64name = "snark"
65path = "profiler/snark.rs"
66
67[[bin]]
68name = "nizk"
69path = "profiler/nizk.rs"
70
71[[bench]]
72name = "snark"
73harness = false
74
75[[bench]]
76name = "nizk"
77harness = false
78
79[[bench]]
80name = "r1cs"
81harness = false
82debug = true
83
84[features]
85multicore = ["rayon"]
86profile = []
87default = ["asm","parallel", "std", "multicore"]
88asm = ["ark-ff/asm"]
89parallel = [ "std", "ark-ff/parallel", "ark-std/parallel", "ark-ec/parallel", "ark-poly/parallel", "rayon"]
90std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std"]
91
92[patch.crates-io]
93ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}
94ark-poly-commit = {git = "https://github.com/maramihali/poly-commit"}
95