2021-07-26 09:45:07 +00:00
|
|
|
[package]
|
|
|
|
name = "ark-circom"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
2022-08-30 18:38:47 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2021-07-26 09:45:07 +00:00
|
|
|
[dependencies]
|
|
|
|
# WASM operations
|
2022-08-30 18:38:47 +00:00
|
|
|
wasmer = { version = "2.0", default-features = false}
|
2021-07-26 15:13:46 +00:00
|
|
|
fnv = { version = "1.0.3", default-features = false }
|
2021-12-22 01:05:57 +00:00
|
|
|
num = { version = "0.4.0" }
|
2021-07-26 15:13:46 +00:00
|
|
|
num-traits = { version = "0.2.0", default-features = false }
|
|
|
|
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
|
2021-07-26 09:45:07 +00:00
|
|
|
|
|
|
|
# ZKP Generation
|
2022-08-30 18:38:47 +00:00
|
|
|
ark-ec = { version = "0.3.0", default-features = false }
|
|
|
|
ark-ff = { version = "0.3.0", default-features = false, features = ["asm"] }
|
|
|
|
ark-std = { version = "0.3.0", default-features = false }
|
2021-07-26 15:13:46 +00:00
|
|
|
ark-bn254 = { version = "0.3.0" }
|
2022-08-30 18:38:47 +00:00
|
|
|
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", default-features = false }
|
|
|
|
ark-poly = { version = "^0.3.0", default-features = false }
|
2021-07-26 15:13:46 +00:00
|
|
|
ark-relations = { version = "0.3.0", default-features = false }
|
|
|
|
ark-serialize = { version = "0.3.0", default-features = false }
|
2021-07-26 09:45:07 +00:00
|
|
|
|
2021-07-26 15:13:46 +00:00
|
|
|
# decoding of data
|
2021-07-26 09:45:07 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
byteorder = "1.4.3"
|
|
|
|
|
2021-07-26 15:13:46 +00:00
|
|
|
# ethereum compat
|
|
|
|
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
|
|
|
|
|
|
|
|
# error handling
|
2021-07-26 09:45:07 +00:00
|
|
|
thiserror = "1.0.26"
|
2021-07-26 15:13:46 +00:00
|
|
|
color-eyre = "0.5"
|
2021-09-08 18:52:17 +00:00
|
|
|
criterion = "0.3.4"
|
2021-07-26 09:45:07 +00:00
|
|
|
|
2021-11-29 08:02:46 +00:00
|
|
|
cfg-if = "1.0"
|
|
|
|
|
2021-07-26 09:45:07 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
hex-literal = "0.2.1"
|
|
|
|
tokio = { version = "1.7.1", features = ["macros"] }
|
2021-07-26 15:13:46 +00:00
|
|
|
serde_json = "1.0.64"
|
|
|
|
ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["abigen"] }
|
2021-09-08 18:52:17 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "groth16"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[features]
|
2022-08-30 18:38:47 +00:00
|
|
|
default = ["parallel", "wasmer/default"]
|
|
|
|
parallel = ["ark-ec/parallel", "ark-ff/parallel", "ark-std/parallel", "ark-groth16/parallel", "ark-poly/parallel"]
|
|
|
|
wasm = ["wasmer/js-default"]
|
2021-09-08 18:52:17 +00:00
|
|
|
bench-complex-all = []
|
2021-11-29 08:02:46 +00:00
|
|
|
circom-2 = []
|