-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (38 loc) · 1.43 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "zkpool-demo-relayer"
version = "0.1.0"
edition = "2021"
authors = ["zkpool_satoshi <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
jsonrpc-http-server = "18.0.0"
tokio = { version = "1.4.0", features = ["full"] }
tokio-stream = { version = "0.1", features = ["time"] }
log = "0.4"
env_logger = "0.10.0"
clap = { version = "2.33", features = [ "yaml" ] }
web3 = "0.19.0"
hex = "0.4.3"
rand = "0.8.4"
#ethers-signers = "0.1.3"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
http_req = "0.10.1"
chrono = "0.4.0"
ethereum-private-key-to-address = "0.1.0"
lazy_static = "1.4.0"
ethers-signers = "0.1.3"
diesel = { version = "2.1.4", features = ["postgres"] }
dotenvy = "0.15.7"
diesel-connection = "4.0.1"
parking_lot = "0.12.1"
reqwest = { version = "0.11", features = ["json"] }
headers = { version = "0.3" }
secp256k1 = { version = "0.21", features = ["recovery"], optional = true }
once_cell = { version = "1.8.0", optional = true }
[features]
default = ["signing", "local"]
signing = ["secp256k1", "once_cell"]
local = [] #use local data to save and transfer info
DB = [] #use database to save and transfer info