|
[package]
|
|
name = "folding-schemes"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
ark-ec = { version = "^0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-ff = { version = "^0.4.0", default-features = false, features = ["parallel", "asm"] }
|
|
ark-poly = { version = "^0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-std = { version = "^0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-crypto-primitives = { version = "^0.4.0", default-features = false, features = ["r1cs", "sponge", "crh", "parallel"] }
|
|
ark-grumpkin = { version = "0.4.0", default-features = false }
|
|
ark-poly-commit = { version = "^0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-relations = { version = "^0.4.0", default-features = false }
|
|
# this is patched at the workspace level
|
|
ark-r1cs-std = { version = "0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-snark = { version = "^0.4.0", default-features = false }
|
|
ark-serialize = { version = "^0.4.0", default-features = false }
|
|
ark-circom = { git = "https://github.com/arnaucube/circom-compat", default-features = false }
|
|
ark-groth16 = { version = "^0.4.0", default-features = false, features = ["parallel"]}
|
|
ark-bn254 = { version = "^0.4.0", default-features = false }
|
|
thiserror = "1.0"
|
|
rayon = "1"
|
|
num-bigint = "0.4"
|
|
num-integer = "0.1"
|
|
color-eyre = "=0.6.2"
|
|
sha3 = "0.10"
|
|
ark-noname = { git = "https://github.com/dmpierre/ark-noname", branch = "feat/sonobe-integration" }
|
|
noname = { git = "https://github.com/dmpierre/noname" }
|
|
serde_json = "1.0.85" # to (de)serialize JSON
|
|
serde = "1.0.203"
|
|
acvm = { git = "https://github.com/noir-lang/noir", rev="2b4853e", default-features = false }
|
|
noir_arkworks_backend = { package="arkworks_backend", git = "https://github.com/dmpierre/arkworks_backend", branch = "feat/sonobe-integration" }
|
|
log = "0.4"
|
|
|
|
# tmp import for espresso's sumcheck
|
|
espresso_subroutines = {git="https://github.com/EspressoSystems/hyperplonk", package="subroutines"}
|
|
|
|
[dev-dependencies]
|
|
ark-pallas = {version="0.4.0", features=["r1cs"]}
|
|
ark-vesta = {version="0.4.0", features=["r1cs"]}
|
|
ark-bn254 = {version="0.4.0", features=["r1cs"]}
|
|
ark-grumpkin = {version="0.4.0", features=["r1cs"]}
|
|
# Note: do not use the MNTx_298 curves in practice due security reasons, here
|
|
# we only use them in the tests.
|
|
ark-mnt4-298 = {version="0.4.0", features=["r1cs"]}
|
|
ark-mnt6-298 = {version="0.4.0", features=["r1cs"]}
|
|
rand = "0.8.5"
|
|
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
|
|
tracing-subscriber = { version = "0.2" }
|
|
|
|
# This allows the crate to be built when targeting WASM.
|
|
# See more at: https://docs.rs/getrandom/#webassembly-support
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
[features]
|
|
default = ["ark-circom/default", "parallel"]
|
|
parallel = []
|
|
wasm = ["ark-circom/wasm"]
|
|
light-test = []
|
|
|
|
|
|
[[example]]
|
|
name = "sha256"
|
|
path = "../examples/sha256.rs"
|
|
|
|
[[example]]
|
|
name = "multi_inputs"
|
|
path = "../examples/multi_inputs.rs"
|
|
|
|
[[example]]
|
|
name = "external_inputs"
|
|
path = "../examples/external_inputs.rs"
|