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
18poly-iop = { path = "../poly-iop" }
19pcs = { path = "../pcs" }
20transcript = { path = "../transcript" }
21arithmetic = { path = "../arithmetic" }
22util = { path = "../util" }
23
24rayon = { version = "1.5.2", default-features = false, optional = true }
25
26[dev-dependencies]
27ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
28
29# Benchmarks
30[[bench]]
31name = "hyperplonk-benches"
32path = "benches/bench.rs"
33harness = false
34
35[features]
36# default = [ ]
37default = [ "parallel" ]
38# default = [ "parallel", "print-trace" ]
39# default = [ "parallel", "extensive_sanity_checks" ]
40bench = [ "parallel" ]
41# extensive sanity checks that are useful for debugging
42extensive_sanity_checks = [
43 "poly-iop/extensive_sanity_checks",
44 "pcs/extensive_sanity_checks",
45 ]
46parallel = [
47 "rayon",
48 "ark-std/parallel",
49 "ark-ff/parallel",
50 "ark-poly/parallel",
51 "ark-ec/parallel",
52
53 "poly-iop/parallel",
54 "arithmetic/parallel",
55 "pcs/parallel",
56 "util/parallel"
57 ]
58print-trace = [
59 "ark-std/print-trace",
60 "poly-iop/print-trace",
61 "arithmetic/print-trace",
62 ]