arnaucube
arnaucube/sonobePublic Self-hosted repository
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-poly-commit = "^0.4.0"
13ark-relations = { version = "^0.4.0", default-features = false }
14ark-r1cs-std = { default-features = false } # use latest version from the patch
15ark-serialize = "^0.4.0"
16ark-circom = { git = "https://github.com/gakonst/ark-circom.git" }
17thiserror = "1.0"
18rayon = "1.7.0"
19num-bigint = "0.4"
20color-eyre = "=0.6.2"
21
22# tmp imports for espresso's sumcheck
23espresso_subroutines = {git="https://github.com/EspressoSystems/hyperplonk", package="subroutines"}
24
25[dev-dependencies]
26ark-pallas = {version="0.4.0", features=["r1cs"]}
27ark-vesta = {version="0.4.0", features=["r1cs"]}
28ark-bn254 = "0.4.0"
29tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
30tracing-subscriber = { version = "0.2" }
31
32[features]
33default = ["parallel"]
34
35parallel = [ 
36    "ark-std/parallel", 
37    "ark-ff/parallel",  
38    "ark-poly/parallel", 
39    ]
40
41# The following patch is to use a version of ark-r1cs-std compatible with
42# v0.4.0 but that includes a cherry-picked commit from after v0.4.0 which fixes
43# the in-circuit scalar multiplication of the zero point. The commit is from
44# https://github.com/arkworks-rs/r1cs-std/pull/124, without including other
45# changes done between v0.4.0 and this fix which would break compatibility.
46[patch.crates-io]
47ark-r1cs-std = { git = "https://github.com/arnaucube/ark-r1cs-std-cherry-picked/" }
48