mirror of https://github.com/vacp2p/zerokit.git
50 lines
1.7 KiB
TOML
50 lines
1.7 KiB
TOML
[package]
|
|
name = "semaphore-wrapper"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default = []
|
|
dylib = [ "wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift" ]
|
|
|
|
[dependencies]
|
|
ark-bn254 = { version = "0.3.0" }
|
|
ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"], rev = "35ce5a9" }
|
|
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
|
|
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
|
|
ark-relations = { version = "0.3.0", default-features = false }
|
|
ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] }
|
|
color-eyre = "0.6.1"
|
|
once_cell = "1.8"
|
|
rand = "0.8.4"
|
|
semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "ee658c2"}
|
|
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false, rev = "3110864" }
|
|
ruint = { version = "1.2.0", features = [ "serde", "num-bigint", "ark-ff" ] }
|
|
serde = "1.0"
|
|
thiserror = "1.0.0"
|
|
wasmer = { version = "2.0" }
|
|
|
|
[dev-dependencies]
|
|
rand_chacha = "0.3.1"
|
|
serde_json = "1.0.79"
|
|
|
|
[build-dependencies]
|
|
color-eyre = "0.6.1"
|
|
wasmer = { version = "2.0" }
|
|
wasmer-engine-dylib = { version = "2.2.1", optional = true }
|
|
wasmer-compiler-cranelift = { version = "3.1.1", optional = true }
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
panic = "abort"
|
|
opt-level = 3
|
|
|
|
# Compilation profile for any non-workspace member.
|
|
# Dependencies are optimized, even in a dev build. This improves dev performance
|
|
# while having neglible impact on incremental build times.
|
|
[profile.dev.package."*"]
|
|
opt-level = 3 |