|
[package]
|
|
name = "pcs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
|
|
ark-std = { version = "^0.3.0", default-features = false }
|
|
ark-serialize = { version = "^0.3.0", default-features = false, features = [ "derive" ] }
|
|
ark-ff = { version = "^0.3.0", default-features = false }
|
|
ark-ec = { version = "^0.3.0", default-features = false }
|
|
ark-poly = {version = "^0.3.0", default-features = false }
|
|
ark-sponge = {version = "^0.3.0", default-features = false}
|
|
ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "curve" ] }
|
|
|
|
displaydoc = { version = "0.2.3", default-features = false }
|
|
|
|
# Benchmarks
|
|
[[bench]]
|
|
name = "pcs-benches"
|
|
path = "benches/bench.rs"
|
|
harness = false
|
|
|
|
[features]
|
|
# by default we switch the groups
|
|
# default = [ "parallel", "print-trace", "group-switched" ]
|
|
default = [ "parallel", "group-switched" ]
|
|
parallel = [
|
|
"ark-std/parallel",
|
|
"ark-ff/parallel",
|
|
"ark-poly/parallel",
|
|
"ark-ec/parallel",
|
|
]
|
|
print-trace = [
|
|
"ark-std/print-trace"
|
|
]
|
|
# With the flag, we switch the groups of G1 and G2 as in a normal KZG.
|
|
# i.e., commitments are over G2 and openings are over G1 when this feature is turned on.
|
|
group-switched = []
|