|
[package]
|
|
name = "ark-circom"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
# WASM operations
|
|
wasmer = { version = "2.0", default-features = false }
|
|
fnv = { version = "1.0.3", default-features = false }
|
|
num = { version = "0.4.0" }
|
|
num-traits = { version = "0.2.0", default-features = false }
|
|
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
|
|
|
|
# ZKP Generation
|
|
ark-crypto-primitives = { version = "0.4.0" }
|
|
ark-ec = { version = "0.4.1", default-features = false, features = ["parallel"] }
|
|
ark-ff = { version = "0.4.1", default-features = false, features = ["parallel", "asm"] }
|
|
ark-std = { version = "0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-bn254 = { version = "0.4.0" }
|
|
ark-groth16 = { version = "0.4.0", default-features = false, features = ["parallel"] }
|
|
ark-poly = { version = "0.4.1", default-features = false, features = ["parallel"] }
|
|
ark-relations = { version = "0.4.0", default-features = false }
|
|
ark-serialize = { version = "0.4.1", default-features = false }
|
|
|
|
# decoding of data
|
|
hex = "0.4.3"
|
|
byteorder = "1.4.3"
|
|
|
|
# ethereum compat
|
|
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, optional = true }
|
|
|
|
# error handling
|
|
thiserror = "1.0.26"
|
|
color-eyre = "0.6.1"
|
|
criterion = "0.3.4"
|
|
|
|
cfg-if = "1.0"
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.2.1"
|
|
tokio = { version = "1.7.1", features = ["macros"] }
|
|
serde_json = "1.0.64"
|
|
ethers = { git = "https://github.com/gakonst/ethers-rs" }
|
|
|
|
[[bench]]
|
|
name = "groth16"
|
|
harness = false
|
|
|
|
[features]
|
|
default = ["wasmer/default", "circom-2", "ethereum"]
|
|
wasm = ["wasmer/js-default"]
|
|
bench-complex-all = []
|
|
circom-2 = []
|
|
ethereum = ["ethers-core"]
|