circom-compat/Cargo.toml
Cargo.tomlRaw
1[package]
2name = "ark-circom"
3version = "0.1.0"
4edition = "2018"
5
6[dependencies]
7# WASM operations
8wasmer = { version = "2.0" }
9fnv = { version = "1.0.3", default-features = false }
10num = { version = "0.4.0" }
11num-traits = { version = "0.2.0", default-features = false }
12num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
13
14# ZKP Generation
15ark-crypto-primitives = { version = "0.4.0" }
16ark-ec = { version = "0.4.1", default-features = false, features = ["parallel"] }
17ark-ff = { version = "0.4.1", default-features = false, features = ["parallel", "asm"] }
18ark-std = { version = "0.4.0", default-features = false, features = ["parallel"] }
19ark-bn254 = { version = "0.4.0" }
20ark-groth16 = { version = "0.4.0", features = ["parallel"] }
21ark-poly = { version = "0.4.1", default-features = false, features = ["parallel"] }
22ark-relations = { version = "0.4.0", default-features = false }
23ark-serialize = { version = "0.4.1", default-features = false }
24
25# decoding of data
26hex = "0.4.3"
27byteorder = "1.4.3"
28
29# ethereum compat
30ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
31
32# error handling
33thiserror = "1.0.26"
34color-eyre = "0.6.1"
35criterion = "0.3.4"
36
37cfg-if = "1.0"
38
39[dev-dependencies]
40hex-literal = "0.2.1"
41tokio = { version = "1.7.1", features = ["macros"] }
42serde_json = "1.0.64"
43ethers = { git = "https://github.com/gakonst/ethers-rs" }
44
45[[bench]]
46name = "groth16"
47harness = false
48
49[features]
50bench-complex-all = []
51circom-2 = []
52ethereum = ["ethers-core"]
53default = ["circom-2", "ethereum"]