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