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