forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (133 loc) · 3.72 KB
/
Copy pathCargo.toml
File metadata and controls
147 lines (133 loc) · 3.72 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[package]
name = "reth-transaction-pool"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Transaction pool implementation"
[lints]
workspace = true
[dependencies]
# reth
reth-chain-state.workspace = true
reth-ethereum-primitives.workspace = true
reth-chainspec.workspace = true
reth-eth-wire-types.workspace = true
reth-primitives-traits.workspace = true
reth-execution-types.workspace = true
reth-fs-util.workspace = true
reth-storage-api.workspace = true
reth-tasks.workspace = true
revm-interpreter.workspace = true
revm-primitives.workspace = true
# ethereum
alloy-eips = { workspace = true, features = ["kzg"] }
alloy-primitives.workspace = true
alloy-rlp.workspace = true
alloy-consensus = { workspace = true, features = ["kzg"] }
# async/futures
futures-util.workspace = true
parking_lot.workspace = true
pin-project.workspace = true
tokio = { workspace = true, features = ["sync"] }
tokio-stream.workspace = true
# metrics
reth-metrics.workspace = true
metrics.workspace = true
# misc
aquamarine.workspace = true
thiserror.workspace = true
tracing.workspace = true
rustc-hash.workspace = true
schnellru.workspace = true
serde = { workspace = true, features = ["derive", "rc"] }
serde_json.workspace = true
bitflags.workspace = true
auto_impl.workspace = true
smallvec.workspace = true
# testing
rand = { workspace = true, optional = true }
paste = { workspace = true, optional = true }
proptest = { workspace = true, optional = true }
proptest-arbitrary-interop = { workspace = true, optional = true }
[dev-dependencies]
alloy-consensus = { workspace = true, features = ["k256"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-tracing.workspace = true
alloy-primitives = { workspace = true, features = ["rand"] }
paste.workspace = true
rand.workspace = true
proptest.workspace = true
proptest-arbitrary-interop.workspace = true
criterion.workspace = true
assert_matches.workspace = true
tempfile.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread"] }
futures.workspace = true
[features]
serde = [
"reth-execution-types/serde",
"reth-eth-wire-types/serde",
"alloy-consensus/serde",
"alloy-eips/serde",
"alloy-primitives/serde",
"bitflags/serde",
"parking_lot/serde",
"rand?/serde",
"smallvec/serde",
"revm-interpreter/serde",
"revm-primitives/serde",
"reth-primitives-traits/serde",
"reth-ethereum-primitives/serde",
"reth-chain-state/serde",
"reth-storage-api/serde",
]
test-utils = [
"rand",
"paste",
"serde",
"reth-chain-state/test-utils",
"reth-chainspec/test-utils",
"reth-provider/test-utils",
"reth-primitives-traits/test-utils",
"reth-ethereum-primitives/test-utils",
"alloy-primitives/rand",
]
arbitrary = [
"proptest",
"proptest-arbitrary-interop",
"reth-chainspec/arbitrary",
"reth-eth-wire-types/arbitrary",
"alloy-consensus/arbitrary",
"alloy-eips/arbitrary",
"alloy-primitives/arbitrary",
"bitflags/arbitrary",
"reth-primitives-traits/arbitrary",
"smallvec/arbitrary",
"revm-interpreter/arbitrary",
"reth-ethereum-primitives/arbitrary",
"revm-primitives/arbitrary",
]
[[bench]]
name = "truncate"
required-features = ["test-utils", "arbitrary"]
harness = false
[[bench]]
name = "reorder"
required-features = ["test-utils", "arbitrary"]
harness = false
[[bench]]
name = "priority"
required-features = ["arbitrary"]
harness = false
[[bench]]
name = "insertion"
required-features = ["test-utils", "arbitrary"]
harness = false
[[bench]]
name = "canonical_state_change"
required-features = ["test-utils", "arbitrary"]
harness = false