semaphore-rs/Cargo.toml

54 lines
1.8 KiB
TOML
Raw Normal View History

2022-01-28 00:43:38 +00:00
[package]
2022-02-01 20:17:05 +00:00
name = "semaphore"
2022-01-28 00:43:38 +00:00
version = "0.1.0"
edition = "2021"
2022-02-01 20:17:05 +00:00
authors = [
"Remco Bloemen <remco@worldcoin.org>",
"Philipp Sippl <philipp@worldcoin.org>"]
homepage = "https://github.com/worldcoin/semaphore-rs"
repository = "https://github.com/worldcoin/semaphore-rs"
description = "Rust support library for Semaphore"
keywords = ["worldcoin", "protocol", "signup"]
categories = ["cryptography"]
readme = "Readme.md"
license-file = "mit-license.md"
2022-01-28 00:43:38 +00:00
[dependencies]
2022-02-18 17:24:49 +00:00
ark-circom = { git = "https://github.com/gakonst/ark-circom", features=["circom-2"] }
2022-01-28 00:43:38 +00:00
ark-std = { version = "0.3.0", default-features = false, features = ["parallel"] }
ark-bn254 = { version = "0.3.0" }
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
2022-02-01 01:31:07 +00:00
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] }
ark-relations = { version = "0.3.0", default-features = false }
2022-01-28 00:43:38 +00:00
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
ff = { package="ff_ce", version="0.11"}
poseidon-rs = "0.0.8"
color-eyre = "0.5"
sha2 = "0.10.1"
2022-01-29 11:52:32 +00:00
hex = "0.4.0"
once_cell = "1.8"
serde = "1.0"
2022-02-20 23:20:08 +00:00
ethers-core = "0.6.3"
2022-01-29 11:52:32 +00:00
hex-literal = "0.3"
2022-02-01 19:40:06 +00:00
proptest = { version = "1.0", optional = true }
rayon = "1.5.1"
2022-02-26 00:22:27 +00:00
[dev-dependencies]
tiny-keccak = "2.0.2"
serde_json = "1.0.79"
2022-02-18 17:24:49 +00:00
[patch.crates-io]
2022-02-18 17:34:34 +00:00
wasmer = { git = 'https://github.com/philsippl/wasmer', rev = "e776616"}
2022-02-18 17:24:49 +00:00
2022-02-01 19:40:06 +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."*"]
2022-02-26 17:45:25 +00:00
opt-level = 3