arnaucube
arnaucube/hyperplonkPublic Self-hosted repository
hyperplonk/hyperplonk/Cargo.toml
hyperplonk/Cargo.tomlRaw
 1[package]
 2name = "hyperplonk"
 3version = "0.1.0"
 4edition = "2021"
 5
 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 7
 8[dependencies]
 9
10ark-std = { version = "^0.3.0", default-features = false }
11ark-ec = { version = "^0.3.0", default-features = false }
12ark-ff = { version = "^0.3.0", default-features = false }
13ark-poly = { version = "^0.3.0", default-features = false }
14ark-serialize = { version = "^0.3.0", default-features = false, features = [ "derive" ] }
15
16displaydoc = { version = "0.2.3", default-features = false }
17
18subroutines = { path = "../subroutines" }
19transcript = { path = "../transcript" }
20arithmetic = { path = "../arithmetic" }
21util = { path = "../util" }
22
23rayon = { version = "1.5.2", default-features = false, optional = true }
24
25[dev-dependencies]
26ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
27
28# Benchmarks
29[[bench]]
30name = "hyperplonk-benches"
31path = "benches/bench.rs"
32harness = false
33
34[features]
35# default = [ ]
36# default = [ "parallel" ]
37# default = [ "parallel", "print-trace" ]
38default = [ "parallel",  "extensive_sanity_checks" ]
39bench = [ "parallel" ]
40# extensive sanity checks that are useful for debugging
41extensive_sanity_checks = [
42    "subroutines/extensive_sanity_checks",
43 ]
44parallel = [ 
45    "rayon",
46    "ark-std/parallel", 
47    "ark-ff/parallel",  
48    "ark-poly/parallel", 
49    "ark-ec/parallel",
50
51    "arithmetic/parallel",
52    "subroutines/parallel",
53    "util/parallel"
54    ]
55print-trace = [ 
56    "ark-std/print-trace",
57    "arithmetic/print-trace",
58    "subroutines/print-trace"
59    ]