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# Benchmarks
28[[bench]]
29name = "hyperplonk-benches"
30path = "benches/bench.rs"
31harness = false
32
33[features]
34# default = [ ]
35# default = [ "parallel" ]
36# default = [ "parallel", "print-trace" ]
37default = [ "parallel", "extensive_sanity_checks" ]
38bench = [ "parallel" ]
39# extensive sanity checks that are useful for debugging
40extensive_sanity_checks = [
41 "subroutines/extensive_sanity_checks",
42 ]
43parallel = [
44 "rayon",
45 "ark-std/parallel",
46 "ark-ff/parallel",
47 "ark-poly/parallel",
48 "ark-ec/parallel",
49
50 "arithmetic/parallel",
51 "subroutines/parallel",
52 "util/parallel"
53 ]
54print-trace = [
55 "ark-std/print-trace",
56 "arithmetic/print-trace",
57 "subroutines/print-trace"
58 ]