forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (55 loc) · 1.44 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
[package]
name = "reth-network-p2p"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "traits and commonly used types for p2p and network communication"
[lints]
workspace = true
[dependencies]
# reth
reth-primitives.workspace = true
reth-primitives-traits.workspace = true
reth-eth-wire-types.workspace = true
reth-consensus.workspace = true
reth-network-peers.workspace = true
reth-network-types.workspace = true
reth-storage-errors.workspace = true
# ethereum
alloy-consensus.workspace = true
alloy-eips.workspace = true
alloy-primitives.workspace = true
# async
futures.workspace = true
tokio = { workspace = true, features = ["sync"] }
# misc
auto_impl.workspace = true
tracing.workspace = true
derive_more.workspace = true
parking_lot = { workspace = true, optional = true }
[dev-dependencies]
reth-consensus = { workspace = true, features = ["test-utils"] }
parking_lot.workspace = true
tokio = { workspace = true, features = ["full"] }
[features]
default = ["std"]
test-utils = [
"reth-consensus/test-utils",
"parking_lot",
"reth-network-types/test-utils",
"reth-primitives/test-utils",
"reth-primitives-traits/test-utils"
]
std = [
"reth-consensus/std",
"reth-primitives/std",
"alloy-eips/std",
"alloy-primitives/std",
"reth-primitives-traits/std",
"alloy-consensus/std",
"derive_more/std",
"reth-network-peers/std"
]