-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
84 lines (68 loc) · 1.88 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "puffersecuresigner"
version = "0.1.0"
authors = ["Jason Vranek <[email protected]>"]
edition = "2021"
[build]
target = "x86_64-unknown-linux-musl"
[build-dependencies]
cc = "1.0"
[dependencies]
libc = "0.2"
# io deps
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
serde-hex = "0.1.0"
env_logger = "0.10.0"
log = "0.4.17"
ethereum_serde_utils = "0.5.1"
# crypto deps
blsttc = { version = "8.0.2", git = "https://github.com/PufferFinance/blsttc" }
libsecp256k1 = "0.7.1"
rand = "0.8.4"
rand_chacha = "0.2"
hex = "0.4.3"
ecies = { version = "0.2.2", default-features = false, features = ["pure"] }
openssl = "0.10.42"
bytes = "1"
sha3 = "0.10.6"
# eth deps
eth-keystore = { git = "https://github.com/PufferFinance/eth-keystore-rs" }
eth2_ssz = "0.4.0"
eth2_ssz_derive = "0.3.0"
eth2_ssz_types = { git = "https://github.com/PufferFinance/ssz_types" }
tree_hash = { git = "https://github.com/PufferFinance/tree_hash" }
tree_hash_derive = { git = "https://github.com/PufferFinance/tree_hash" }
num-bigint = "0.4"
# server deps
tokio = { version = "1", features = ["full"] }
axum = { version = "0.6.20", features = ["macros"] }
tracing-subscriber = "0.3.17"
axum-test = "12.3.0"
# client deps
reqwest = { version = "0.11", features = ["json"] }
# misc
anyhow = "1.0.65"
clap = { version = "4.1.1", features = ["derive"], optional = true }
ethers = "2.0.8"
async-trait = "0.1.73"
[dev-dependencies]
reqwest = { version = "0.11.16", features = ["json"] }
snap = "1.0.1"
serde_yaml = "0.8.13"
[features]
sgx = []
[[bin]] # Bin to run the sgx-signer rpc
name = "secure-signer"
path = "src/bin/secure-signer.rs"
[[bin]] # Bin to run the sgx-guardian rpc
name = "guardian"
path = "src/bin/guardian.rs"
[[bin]] # Bin to run the sgx-validator rpc
name = "validator"
path = "src/bin/validator.rs"
[[bin]] # Bin to run the client
name = "client"
path = "src/client/mod.rs"
required-features = ["clap"]