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