-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (90 loc) · 2.38 KB
/
Cargo.toml
File metadata and controls
104 lines (90 loc) · 2.38 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[workspace]
resolver = "3"
members = [
"bin/*",
"crates/*",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
[workspace.dependencies]
# workspace crates
adkg = { path = "./crates/adkg" }
agent-utils = { path = "./crates/agent-utils" }
config = { path = "./crates/config" }
dcipher-agents = { path = "./crates/dcipher-agents" }
dcipher-signer = { path = "./crates/signer" }
dcipher-network = { path = "./crates/network" }
generated = { path = "./crates/generated" }
omnievent = { path = "./crates/omnievent" }
superalloy = { path = "./crates/superalloy" }
utils = { path = "./crates/utils", features = ["bn254", "bls12-381"] }
# clients
onlyswaps-client = { path = "./crates/onlyswaps-client" }
# blockchain
alloy = { version = "1.0.41", features = ["sol-types"] }
# crypto
ark-bn254 = "0.5.0"
ark-bls12-381 = "0.5.0"
ark-ec = "0.5.0"
ark-ff = "0.5.0"
ark-poly = "0.5.0"
ark-serialize = "0.5.0"
ark-std = "0.5.0"
chacha20poly1305 = "0.10"
# hashes
digest = "0.10"
sha2 = "0.10"
sha3 = "0.10"
# async
async-trait = "0.1"
futures = "0.3"
futures-util = "0.3"
tokio = "1.44"
tokio-stream = "0.1"
tokio-util = "0.7"
# logs / metrics
prometheus = "0.14.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3" }
# network
libp2p = { version = "0.55", features = ["serde"] }
url = { version = "2.5.7", features = ["serde"] }
# api / rpc
axum = "0.8"
reqwest = { version = "0.12" }
tonic = { version = "0.13" }
tonic-build = { version = "0.13" }
# serde
bson = "2.11.0"
prost = { version = "0.13" }
prost-types = { version = "0.13" }
serde = { version = "1.0", features = ["derive"], default-features = false }
serde_with = "3.14"
serde_json = "1.0"
serde_cbor = "0.11"
toml = "0.9"
# storage
sqlx = { version = "0.8" }
# misc
anyhow = "1.0"
backoff = { version = "0.4", features = ["tokio"] }
base64 = "0.22"
bytes = "1.10"
chrono = "0.4"
clap = { version = "4.5", features = ["derive", "env"] }
either = "1.15"
figment = { version = "0.10" }
hex = "0.4"
humantime = "2.2"
humantime-serde = "1.1.1"
itertools = "0.14"
rand = "0.8.0"
strum = { version = "0.27", features = ["derive"] }
thiserror = "2.0"
tower = "0.5"
tower-http = { version = "0.6.6" }
[patch.crates-io]
# Use custom patch to fix arkworks' FieldHasher
ark-ff = { git = 'https://github.com/randa-mu/algebra', branch = "fix/fieldHasher-v0.5.0" }
libp2p-floodsub = { git = "https://github.com/randa-mu/rust-libp2p", branch = "fix/floodsub-msg-size" }