arnaucube
arnaucube/NovaPublic Self-hosted repository
Nova/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "nova-snark"
 3version = "0.21.0"
 4authors = ["Srinath Setty <srinath@microsoft.com>"]
 5edition = "2021"
 6description = "Recursive zkSNARKs without trusted setup"
 7documentation = "https://docs.rs/nova-snark/"
 8readme = "README.md"
 9repository = "https://github.com/Microsoft/Nova"
10license-file = "LICENSE"
11keywords = ["zkSNARKs", "cryptography", "proofs"]
12
13[dependencies]
14bellperson = { version = "0.25", default-features = false }
15ff = { version = "0.13.0", features = ["derive"] }
16digest = "0.8.1"
17sha3 = "0.8.2"
18rayon = "1.3.0"
19rand_core = { version = "0.6.0", default-features = false }
20rand_chacha = "0.3"
21itertools = "0.9.0"
22subtle = "2.4"
23pasta_curves = { version = "0.5", features = ["repr-c", "serde"] }
24neptune = { version = "10.0.0", default-features = false }
25generic-array = "0.14.4"
26num-bigint = { version = "0.4", features = ["serde", "rand"] }
27num-traits = "0.2"
28num-integer = "0.1"
29serde = { version = "1.0", features = ["derive"] }
30bincode = "1.2.1"
31flate2 = "1.0"
32bitvec = "1.0"
33byteorder = "1.4.3"
34thiserror = "1.0" 
35
36[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
37pasta-msm = { version = "0.1.4" }
38
39[dev-dependencies]
40criterion = { version = "0.4", features = ["html_reports"] }
41rand = "0.8.4"
42hex = "0.4.3"
43pprof = { version = "0.11" }
44cfg-if = "1.0.0"
45sha2 = "0.10.7"
46
47[[bench]]
48name = "recursive-snark"
49harness = false
50
51[[bench]]
52name = "compressed-snark"
53harness = false
54
55[[bench]]
56name = "compute-digest"
57harness = false
58
59[[bench]]
60name = "sha256"
61harness = false
62
63[features]
64default = []
65# Compiles in portable mode, w/o ISA extensions => binary can be executed on all systems.
66portable = ["pasta-msm/portable"]
67cuda = ["neptune/cuda", "neptune/pasta", "neptune/arity24"]
68opencl = ["neptune/opencl", "neptune/pasta", "neptune/arity24"]
69flamegraph = ["pprof/flamegraph", "pprof/criterion"]