arnaucube
arnaucube/hash-chain-sonobePublic Self-hosted repository
hash-chain-sonobe/Cargo.toml
Cargo.tomlRaw
 1[package]
 2name = "keccak-chain-sonobe"
 3version = "0.1.0"
 4edition = "2021"
 5
 6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 7
 8[dependencies]
 9
10[dev-dependencies]
11ark-groth16 = { version = "^0.4.0" }
12ark-bn254 = { version = "0.4.0", features = ["r1cs"] }
13ark-grumpkin = {version="0.4.0", features=["r1cs"]}
14ark-ec = "0.4.1"
15ark-ff = "0.4.1"
16ark-r1cs-std = { version = "0.4.0", default-features = false }
17ark-relations = { version = "0.4.0", default-features = false }
18ark-snark = { version = "^0.4.0", default-features = false }
19ark-poly-commit = "^0.4.0"
20ark-crypto-primitives = { version = "^0.4.0", default-features = false, features = [
21    "r1cs",
22    "sponge",
23    "crh",
24] }
25ark-std = "0.4.0"
26color-eyre = "0.6.2"
27num-bigint = "0.4.3"
28# Note: for testing purposes we use the 'light-test' feature when importing
29# Sonobe's folding-schemes, but for a real-world usage it must be used without
30# this feature (but then the DeciderETH circuit is bigger and takes more time
31# to compute).
32# folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", features=["light-test"]}
33
34# note: this branch uses the 'reduce-memory-usage' branch from sonobe:
35folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", features=["light-test"], branch="reduce-memory-usage" }
36solidity-verifiers = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "solidity-verifiers"}
37serde = "1.0.198"
38serde_json = "1.0.116"
39tiny-keccak = { version = "2.0", features = ["keccak"] }
40
41rand = "0.8.5"
42
43[patch.crates-io]
44# patch ark_curves to use a cherry-picked version which contains
45# bn254::constraints & grumpkin for v0.4.0 (once arkworks v0.5.0 is released
46# this will no longer be needed)
47ark-bn254 = { git = "https://github.com/arnaucube/ark-curves-cherry-picked", branch="cherry-pick"}
48ark-grumpkin = { git = "https://github.com/arnaucube/ark-curves-cherry-picked", branch="cherry-pick"}
49ark-circom = { git = "https://github.com/arnaucube/circom-compat" }
50ark-r1cs-std = { git = "https://github.com/winderica/r1cs-std", branch="cherry-pick" }