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