mirror of https://github.com/vacp2p/zerokit.git
58 lines
1.8 KiB
TOML
58 lines
1.8 KiB
TOML
[package]
|
|
name = "rln"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
|
|
|
# This flag disable cargo doctests, i.e. testing example code-snippets in documentation
|
|
doctest = false
|
|
|
|
|
|
[dependencies]
|
|
# ZKP Generation
|
|
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 }
|
|
ark-bn254 = { version = "0.3.0" }
|
|
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", default-features = false }
|
|
ark-relations = { version = "0.3.0", default-features = false, features = [ "std" ] }
|
|
ark-serialize = { version = "0.3.0", default-features = false }
|
|
ark-circom = { git = "https://github.com/vacp2p/ark-circom", branch = "wasm", default-features = false, features = ["circom-2"] }
|
|
#ark-circom = { git = "https://github.com/vacp2p/ark-circom", branch = "no-ethers-core", features = ["circom-2"] }
|
|
|
|
# WASM
|
|
wasmer = { version = "2.3.0", default-features = false }
|
|
|
|
# error handling
|
|
color-eyre = "0.6.1"
|
|
thiserror = "1.0.0"
|
|
|
|
# utilities
|
|
cfg-if = "1.0"
|
|
num-bigint = { version = "0.4.3", default-features = false, features = ["rand"] }
|
|
num-traits = "0.2.11"
|
|
once_cell = "1.14.0"
|
|
rand = "0.8"
|
|
rand_chacha = "0.3.1"
|
|
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
|
|
utils = { path = "../utils/", default-features = false }
|
|
|
|
# serialization
|
|
serde_json = "1.0.48"
|
|
|
|
[dev-dependencies]
|
|
pmtree = { git = "https://github.com/Rate-Limiting-Nullifier/pmtree" }
|
|
sled = "0.34.7"
|
|
|
|
[features]
|
|
default = ["parallel", "wasmer/sys-default"]
|
|
parallel = ["ark-ec/parallel", "ark-ff/parallel", "ark-std/parallel", "ark-groth16/parallel", "utils/parallel"]
|
|
wasm = ["wasmer/js", "wasmer/std"]
|
|
fullmerkletree = ["default"]
|
|
|
|
# Note: pmtree feature is still experimental
|
|
pmtree = ["default"]
|