2022-03-11 09:55:46 +00:00
|
|
|
[package]
|
|
|
|
name = "rln"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2022-06-29 16:56:03 +00:00
|
|
|
[lib]
|
2022-07-25 16:54:13 +00:00
|
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
2022-06-29 16:56:03 +00:00
|
|
|
|
2022-03-11 09:55:46 +00:00
|
|
|
[dependencies]
|
|
|
|
|
|
|
|
# ZKP Generation
|
2022-03-18 06:23:44 +00:00
|
|
|
ark-ff = { version = "0.3.0", default-features = false, features = ["parallel", "asm"] }
|
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"] }
|
2022-03-16 06:01:44 +00:00
|
|
|
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-09-15 08:32:45 +00:00
|
|
|
ark-circom = { git = "https://github.com/gakonst/ark-circom", rev = "06eb075", features = ["circom-2"] }
|
|
|
|
#ark-circom = { git = "https://github.com/vacp2p/ark-circom", branch = "no-ethers-core", features = ["circom-2"] }
|
|
|
|
wasmer = "2.3.0"
|
2022-03-11 09:55:46 +00:00
|
|
|
|
|
|
|
# error handling
|
2022-09-15 08:32:45 +00:00
|
|
|
color-eyre = "0.5.11"
|
2022-09-14 09:48:48 +00:00
|
|
|
thiserror = "1.0.0"
|
2022-03-11 09:55:46 +00:00
|
|
|
|
2022-09-14 09:48:48 +00:00
|
|
|
# utilities
|
2022-09-15 08:32:45 +00:00
|
|
|
cfg-if = "1.0"
|
|
|
|
num-bigint = { version = "0.4.3", default-features = false, features = ["rand"] }
|
|
|
|
num-traits = "0.2.11"
|
|
|
|
once_cell = "1.14.0"
|
2022-06-22 14:36:54 +00:00
|
|
|
rand = "0.8"
|
2022-09-15 08:32:45 +00:00
|
|
|
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
|
2022-03-18 06:23:44 +00:00
|
|
|
|
2022-09-14 09:48:48 +00:00
|
|
|
# serialization
|
2022-09-15 08:32:45 +00:00
|
|
|
serde_json = "1.0.48"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
|
|
|
hex-literal = "0.3.4"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
fullmerkletree = []
|