Skip to content

Commit

Permalink
feat: wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Aug 30, 2022
1 parent 2455bea commit 30ac1f3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions rln/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib", "rlib", "staticlib"]
[dependencies]

# WASM operations
wasmer = { version = "2.0" }
wasmer = { version = "2.0", default-features = false, features = ["js", "std"] }
# fnv = { version = "1.0.3", default-features = false }
# num = { version = "0.4.0" }
# num-traits = { version = "0.2.0", default-features = false }
Expand All @@ -26,14 +26,15 @@ ark-bn254 = { version = "0.3.0" }
ark-groth16 = { git = "https://github.com/arkworks-rs/groth16", rev = "765817f", features = ["parallel"] }
# ark-poly = { version = "^0.3.0", default-features = false, features = ["parallel"] }
#ark-relations = { version = "0.3.0", default-features = false, path = "../../../arkworks-rs/snark/relations", features = [ "std" ] }
ark-relations = { version = "0.3.0", default-features = false, features = [ "std" ] }
ark-relations = { version = "0.3.0", default-features = false }
ark-serialize = { version = "0.3.0", default-features = false }
getrandom = { version = "0.2.7", default-features = false, features = ["js"] }

ark-circom = { git = "https://github.com/gakonst/ark-circom", features = ["circom-2"] }
ark-circom = { git = "https://github.com/vacp2p/ark-circom", branch = "wasm", features = ["circom-2"] }
#ark-circom = { features = ["circom-2"], path = "../../../gakonst/ark-circom" }

# error handling
# thiserror = "1.0.26"
thiserror = "1.0.26"
color-eyre = "0.5"

# decoding of data
Expand All @@ -58,7 +59,7 @@ sha2 = "0.10.1"
ff = { package="ff_ce", version="0.11"}

zkp-u256 = { version = "0.2", optional = true }
ethers = { git = "https://github.com/gakonst/ethers-rs" }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }

tiny-keccak = "2.0.2"

Expand All @@ -68,11 +69,9 @@ blake2 = "0.8.1"
sapling-crypto = { package = "sapling-crypto_ce", version = "0.1.3", default-features = false }
bellman = { package = "bellman_ce", version = "0.3.4", default-features = false }

#semaphore = { git = "https://github.com/oskarth/semaphore-rs" }
semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "d462a43"}
# semaphore = { git = "https://github.com/oskarth/semaphore-rs" }
# semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "fca8183"}

rand = "0.8"

tempfile = "3.3.0"

thiserror = "1.0.0"

0 comments on commit 30ac1f3

Please sign in to comment.