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-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
16ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] }
17ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] }
18ark-bn254 = { version = "0.3.0" }
19ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
20ark-poly = { version = "^0.3.0", default-features = false, features = ["parallel"] }
21ark-relations = { version = "0.3.0", default-features = false }
22ark-serialize = { version = "0.3.0", default-features = false }
23
24# decoding of data
25hex = "0.4.3"
26byteorder = "1.4.3"
27
28# ethereum compat
29ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
30ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["abigen"], 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"
43
44[[bench]]
45name = "groth16"
46harness = false
47
48[features]
49bench-complex-all = []
50circom-2 = []
51full = ["ethers", "ethers-core"]
52default = ["full"]