2022-05-24 11:35:21 +00:00
|
|
|
[package]
|
2022-06-01 14:17:17 +00:00
|
|
|
name = "semaphore-wrapper"
|
2023-07-31 07:22:23 +00:00
|
|
|
version = "0.3.0"
|
2022-05-24 11:35:21 +00:00
|
|
|
edition = "2021"
|
2023-02-27 06:17:55 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-05-24 11:35:21 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2022-06-01 14:17:17 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
dylib = [ "wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift" ]
|
|
|
|
|
2022-05-24 11:35:21 +00:00
|
|
|
[dependencies]
|
2022-06-01 13:53:12 +00:00
|
|
|
ark-bn254 = { version = "0.3.0" }
|
2023-03-20 08:36:25 +00:00
|
|
|
ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"], rev = "35ce5a9" }
|
2022-06-01 13:53:12 +00:00
|
|
|
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"] }
|
2023-02-06 04:54:59 +00:00
|
|
|
color-eyre = "0.6.1"
|
2022-06-01 13:53:12 +00:00
|
|
|
once_cell = "1.8"
|
|
|
|
rand = "0.8.4"
|
2022-12-11 23:40:08 +00:00
|
|
|
semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "ee658c2"}
|
2023-07-24 07:20:30 +00:00
|
|
|
ethers-core = { version = "2.0.8", default-features = false }
|
2022-11-23 09:55:12 +00:00
|
|
|
ruint = { version = "1.2.0", features = [ "serde", "num-bigint", "ark-ff" ] }
|
2022-06-01 13:53:12 +00:00
|
|
|
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]
|
2023-02-06 04:54:59 +00:00
|
|
|
color-eyre = "0.6.1"
|
2022-06-01 14:17:17 +00:00
|
|
|
wasmer = { version = "2.0" }
|
|
|
|
wasmer-engine-dylib = { version = "2.2.1", optional = true }
|
2023-02-06 04:54:59 +00:00
|
|
|
wasmer-compiler-cranelift = { version = "3.1.1", optional = true }
|
2022-06-01 14:17:17 +00:00
|
|
|
|
|
|
|
[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."*"]
|
2023-02-08 11:38:42 +00:00
|
|
|
opt-level = 3
|