arnaucube
arnaucube/sonobePublic Self-hosted repository
sonobe/folding-schemes/Cargo.toml
folding-schemes/Cargo.tomlRaw
 1[package]
 2name = "folding-schemes"
 3version = "0.1.0"
 4edition = "2021"
 5
 6[dependencies]
 7ark-ec = { version = "^0.4.0", default-features = false, features = ["parallel"] }
 8ark-ff = { version = "^0.4.0", default-features = false, features = ["parallel", "asm"] }
 9ark-poly = { version = "^0.4.0", default-features = false, features = ["parallel"] }
10ark-std = { version = "^0.4.0", default-features = false, features = ["parallel"] }
11ark-crypto-primitives = { version = "^0.4.0", default-features = false, features = ["r1cs", "sponge", "crh", "parallel"] }
12ark-grumpkin = { version = "0.4.0", default-features = false }
13ark-poly-commit = { version = "^0.4.0", default-features = false, features = ["parallel"] }
14ark-relations = { version = "^0.4.0", default-features = false }
15# this is patched at the workspace level
16ark-r1cs-std = { version = "0.4.0", default-features = false, features = ["parallel"] }
17ark-snark = { version = "^0.4.0", default-features = false }
18ark-serialize = { version = "^0.4.0", default-features = false }
19ark-circom = { git = "https://github.com/arnaucube/circom-compat", default-features = false }
20ark-groth16 = { version = "^0.4.0", default-features = false, features = ["parallel"]}
21ark-bn254 = { version = "^0.4.0", default-features = false }
22thiserror = "1.0"
23rayon = "1"
24num-bigint = "0.4"
25num-integer = "0.1"
26color-eyre = "=0.6.2"
27sha3 = "0.10"
28ark-noname = { git = "https://github.com/dmpierre/ark-noname", branch = "feat/sonobe-integration" }
29noname = { git = "https://github.com/dmpierre/noname" }
30serde_json = "1.0.85"                                                                # to (de)serialize JSON
31serde = "1.0.203"
32acvm = { git = "https://github.com/noir-lang/noir", rev="2b4853e", default-features = false }
33noir_arkworks_backend = { package="arkworks_backend", git = "https://github.com/dmpierre/arkworks_backend", branch = "feat/sonobe-integration" }
34log = "0.4"
35
36# tmp import for espresso's sumcheck
37espresso_subroutines = {git="https://github.com/EspressoSystems/hyperplonk", package="subroutines"}
38
39[dev-dependencies]
40ark-pallas = {version="0.4.0", features=["r1cs"]}
41ark-vesta = {version="0.4.0", features=["r1cs"]}
42ark-bn254 = {version="0.4.0", features=["r1cs"]}
43ark-grumpkin = {version="0.4.0", features=["r1cs"]}
44# Note: do not use the MNTx_298 curves in practice due security reasons, here
45# we only use them in the tests.
46ark-mnt4-298 = {version="0.4.0", features=["r1cs"]}
47ark-mnt6-298 = {version="0.4.0", features=["r1cs"]}
48rand = "0.8.5"
49tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
50tracing-subscriber = { version = "0.2" }
51
52# This allows the crate to be built when targeting WASM.
53# See more at: https://docs.rs/getrandom/#webassembly-support 
54[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
55getrandom = { version = "0.2", features = ["js"] }
56
57[features]
58default = ["ark-circom/default", "parallel"]
59parallel = []
60wasm = ["ark-circom/wasm"]
61light-test = []
62
63
64[[example]]
65name = "sha256"
66path = "../examples/sha256.rs"
67
68[[example]]
69name = "multi_inputs"
70path = "../examples/multi_inputs.rs"
71
72[[example]]
73name = "external_inputs"
74path = "../examples/external_inputs.rs"