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 }
40ark-snark = { version = "^0.3.0", default-features = false }
41ark-groth16 = { version = "^0.3.0", features = ["r1cs"] }
42ark-bw6-761 = { version = "^0.3.0" }
43
44lazy_static = "1.4.0"
45rand = { version = "0.8", features = [ "std", "std_rng" ] }
46num-bigint = { version = "0.4" }
47
48tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
49tracing-subscriber = { version = "0.2" }
50
51
52[dev-dependencies]
53serde = { version = "1.0", features = ["derive"] }
54csv = "1.1.5"
55criterion = "0.3.6"
56
57[lib]
58name = "libspartan"
59path = "src/lib.rs"
60
61[[bin]]
62name = "snark"
63path = "profiler/snark.rs"
64
65[[bin]]
66name = "nizk"
67path = "profiler/nizk.rs"
68
69[[bench]]
70name = "snark"
71harness = false
72
73[[bench]]
74name = "nizk"
75harness = false
76
77[[bench]]
78name = "r1cs"
79harness = false
80debug = true
81
82[features]
83multicore = ["rayon"]
84profile = []
85default = ["parallel", "std"]
86parallel = [ "std", "ark-ff/parallel", "ark-std/parallel", "ark-ec/parallel"]
87std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std"]
88
89[patch.crates-io]
90ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}