|
[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-poly-commit = { version = "^0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-relations = { version = "^0.4.0", default-features = false }
|
|
# ark-r1cs-std 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-groth16 = { version = "^0.4.0", default-features = false, features = ["parallel"]}
|
|
ark-bn254 = { version = "^0.4.0", default-features = false }
|
|
ark-grumpkin = { version = "0.4.0", default-features = false }
|
|
thiserror = "1.0"
|
|
rayon = "1"
|
|
num-bigint = "0.4"
|
|
num-integer = "0.1"
|
|
sha3 = "0.10"
|
|
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"
|
|
num-bigint = {version = "0.4", features = ["rand"]}
|
|
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 = ["parallel"]
|
|
parallel = []
|
|
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"
|