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 }
41
42lazy_static = "1.4.0"
43rand = { version = "0.8", features = [ "std", "std_rng" ] }
44num-bigint = { version = "0.4" }
45
46[dev-dependencies]
47criterion = "0.3.1"
48
49[lib]
50name = "libspartan"
51path = "src/lib.rs"
52
53[[bin]]
54name = "snark"
55path = "profiler/snark.rs"
56
57[[bin]]
58name = "nizk"
59path = "profiler/nizk.rs"
60
61[[bench]]
62name = "snark"
63harness = false
64
65[[bench]]
66name = "nizk"
67harness = false
68
69[features]
70default = ["curve25519-dalek/simd_backend"]
71multicore = ["rayon"]
72profile = []
73
74[patch.crates-io]
75ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}