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"
45
46[[bench]]
47name = "recursive-snark"
48harness = false
49
50[[bench]]
51name = "compressed-snark"
52harness = false
53
54[[bench]]
55name = "compute-digest"
56harness = false
57
58[features]
59default = []
60# Compiles in portable mode, w/o ISA extensions => binary can be executed on all systems.
61portable = ["pasta-msm/portable"]
62cuda = ["neptune/cuda", "neptune/pasta", "neptune/arity24"]
63opencl = ["neptune/opencl", "neptune/pasta", "neptune/arity24"]
64flamegraph = ["pprof/flamegraph", "pprof/criterion"]