2022-03-11 09:55:46 +00:00
|
|
|
[package]
|
|
|
|
name = "rln"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
|
|
|
# WASM operations
|
|
|
|
# wasmer = { version = "2.0" }
|
|
|
|
# fnv = { version = "1.0.3", default-features = false }
|
|
|
|
# num = { version = "0.4.0" }
|
|
|
|
# num-traits = { version = "0.2.0", default-features = false }
|
|
|
|
num-bigint = { version = "0.4", default-features = false, features = ["rand"] }
|
|
|
|
|
|
|
|
# ZKP Generation
|
|
|
|
ark-ec = { version = "0.3.0", default-features = false, features = ["parallel"] }
|
2022-03-18 06:23:44 +00:00
|
|
|
ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] }
|
2022-06-01 14:40:10 +00:00
|
|
|
#ark-ff = { git = "https://github.com/arkworks-rs/algebra/"}
|
2022-03-11 09:55:46 +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"] }
|
|
|
|
# ark-poly = { version = "^0.3.0", default-features = false, features = ["parallel"] }
|
2022-03-16 06:01:44 +00:00
|
|
|
#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" ] }
|
2022-03-11 09:55:46 +00:00
|
|
|
ark-serialize = { version = "0.3.0", default-features = false }
|
|
|
|
|
2022-03-16 06:01:44 +00:00
|
|
|
ark-circom = { git = "https://github.com/gakonst/ark-circom", features = ["circom-2"] }
|
|
|
|
#ark-circom = { features = ["circom-2"], path = "../../../gakonst/ark-circom" }
|
2022-03-11 09:55:46 +00:00
|
|
|
|
|
|
|
# error handling
|
|
|
|
# thiserror = "1.0.26"
|
|
|
|
color-eyre = "0.5"
|
|
|
|
|
|
|
|
# decoding of data
|
2022-03-15 09:48:42 +00:00
|
|
|
hex = "0.4.3"
|
2022-03-11 09:55:46 +00:00
|
|
|
# byteorder = "1.4.3"
|
2022-03-15 09:48:42 +00:00
|
|
|
hex-literal = "0.3"
|
2022-03-11 09:55:46 +00:00
|
|
|
|
|
|
|
# tracing
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.2"
|
|
|
|
|
|
|
|
# json
|
|
|
|
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
|
|
|
|
serde_json = "1.0.48"
|
2022-03-15 09:27:24 +00:00
|
|
|
|
|
|
|
|
2022-03-15 09:29:40 +00:00
|
|
|
once_cell = "1.8"
|
2022-03-15 09:27:24 +00:00
|
|
|
poseidon-rs = "0.0.8"
|
2022-05-23 08:27:52 +00:00
|
|
|
primitive-types = "0.11.1"
|
2022-03-15 09:29:40 +00:00
|
|
|
sha2 = "0.10.1"
|
2022-03-15 09:48:51 +00:00
|
|
|
|
|
|
|
ff = { package="ff_ce", version="0.11"}
|
2022-03-16 07:54:42 +00:00
|
|
|
|
|
|
|
zkp-u256 = { version = "0.2", optional = true }
|
|
|
|
ethers-core = "0.6.3"
|
|
|
|
|
|
|
|
tiny-keccak = "2.0.2"
|
2022-03-17 06:52:34 +00:00
|
|
|
|
|
|
|
blake2 = "0.8.1"
|
|
|
|
|
|
|
|
# TODO Remove this and use arkworks instead
|
|
|
|
sapling-crypto = { package = "sapling-crypto_ce", version = "0.1.3", default-features = false }
|
2022-03-17 08:00:50 +00:00
|
|
|
bellman = { package = "bellman_ce", version = "0.3.4", default-features = false }
|
2022-03-17 12:09:13 +00:00
|
|
|
|
2022-06-01 14:40:10 +00:00
|
|
|
#semaphore = { git = "https://github.com/oskarth/semaphore-rs" }
|
|
|
|
semaphore = { git = "https://github.com/worldcoin/semaphore-rs", rev = "d462a43"}
|
|
|
|
|
2022-03-18 06:23:44 +00:00
|
|
|
|
|
|
|
tempfile = "3.3.0"
|
|
|
|
|
|
|
|
thiserror = "1.0.0"
|