-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08b9fd7
commit d295500
Showing
2 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ version = "0.1.0" | |
edition = "2021" | ||
authors = [ | ||
"Remco Bloemen <[email protected]>", | ||
"Philipp Sippl <[email protected]>"] | ||
"Philipp Sippl <[email protected]>", | ||
] | ||
homepage = "https://github.com/worldcoin/semaphore-rs" | ||
repository = "https://github.com/worldcoin/semaphore-rs" | ||
description = "Rust support library for Semaphore" | ||
|
@@ -20,9 +21,18 @@ members = ["crates/*"] | |
default = [] | ||
bench = ["criterion", "proptest"] | ||
dylib = ["wasmer/dylib", "wasmer-engine-dylib", "wasmer-compiler-cranelift"] | ||
depth_16 = ["semaphore-depth-config/depth_16", "semaphore-depth-macros/depth_16"] | ||
depth_20 = ["semaphore-depth-config/depth_20", "semaphore-depth-macros/depth_20"] | ||
depth_30 = ["semaphore-depth-config/depth_30", "semaphore-depth-macros/depth_30"] | ||
depth_16 = [ | ||
"semaphore-depth-config/depth_16", | ||
"semaphore-depth-macros/depth_16", | ||
] | ||
depth_20 = [ | ||
"semaphore-depth-config/depth_20", | ||
"semaphore-depth-macros/depth_20", | ||
] | ||
depth_30 = [ | ||
"semaphore-depth-config/depth_30", | ||
"semaphore-depth-macros/depth_30", | ||
] | ||
|
||
[[bench]] | ||
name = "criterion" | ||
|
@@ -32,12 +42,23 @@ required-features = ["bench", "proptest"] | |
|
||
[dependencies] | ||
ark-bn254 = { version = "0.3.0" } | ||
ark-circom = { git = "https://github.com/gakonst/ark-circom", rev = "a93c8b0", features = ["circom-2"] } | ||
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] } | ||
ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] } | ||
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] } | ||
ark-circom = { git = "https://github.com/gakonst/ark-circom", rev = "a93c8b0", features = [ | ||
"circom-2", | ||
] } | ||
ark-ec = { version = "0.3.0", default-features = false, features = [ | ||
"parallel", | ||
] } | ||
ark-ff = { version = "0.3.0", default-features = false, features = [ | ||
"parallel", | ||
"asm", | ||
] } | ||
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"] } | ||
ark-std = { version = "0.3.0", default-features = false, features = [ | ||
"parallel", | ||
] } | ||
color-eyre = "0.6" | ||
criterion = { version = "0.3", optional = true, features = ["async_tokio"] } | ||
hex = "0.4.0" | ||
|
@@ -47,7 +68,7 @@ once_cell = "1.8" | |
proptest = { version = "1.0", optional = true } | ||
rand = "0.8.4" | ||
rayon = "1.5.1" | ||
ruint = { version = "1.2.0", features = ["serde", "num-bigint", "ark-ff"] } | ||
ruint = { version = "=1.11.0", features = ["serde", "num-bigint", "ark-ff"] } | ||
semaphore-depth-config = { path = "crates/semaphore-depth-config" } | ||
serde = "1.0" | ||
sha2 = "0.10.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters