sonobe/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "folding-schemes"
3version = "0.1.0"
4edition = "2021"
5
6[dependencies]
7ark-ec = "^0.4.0"
8ark-ff = "^0.4.0"
9ark-poly = "^0.4.0"
10ark-std = "^0.4.0"
11ark-crypto-primitives = { version = "^0.4.0", default-features = false, features = ["r1cs", "sponge", "crh"] }
12ark-relations = { version = "^0.4.0", default-features = false }
13ark-r1cs-std = { default-features = false } # use latest version from the patch
14ark-serialize = "^0.4.0"
15ark-circom = { git = "https://github.com/gakonst/ark-circom.git" }
16thiserror = "1.0"
17rayon = "1.7.0"
18num-bigint = "0.4"
19color-eyre = "=0.6.2"
20
21# tmp imports for espresso's sumcheck
22espresso_subroutines = {git="https://github.com/EspressoSystems/hyperplonk", package="subroutines"}
23
24[dev-dependencies]
25ark-pallas = {version="0.4.0", features=["r1cs"]}
26ark-vesta = {version="0.4.0", features=["r1cs"]}
27ark-bn254 = "0.4.0"
28tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
29tracing-subscriber = { version = "0.2" }
30
31[features]
32default = ["parallel", "nova", "hypernova"]
33hypernova=[]
34nova=[]
35
36parallel = [
37 "ark-std/parallel",
38 "ark-ff/parallel",
39 "ark-poly/parallel",
40 ]
41
42# The following patch is to use a version of ark-r1cs-std compatible with
43# v0.4.0 but that includes a cherry-picked commit from after v0.4.0 which fixes
44# the in-circuit scalar multiplication of the zero point. The commit is from
45# https://github.com/arkworks-rs/r1cs-std/pull/124, without including other
46# changes done between v0.4.0 and this fix which would break compatibility.
47[patch.crates-io]
48ark-r1cs-std = { git = "https://github.com/arnaucube/ark-r1cs-std-cherry-picked/" }
49