forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
95 lines (83 loc) · 2.18 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
85
86
87
88
89
90
91
92
93
94
95
[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
[package.metadata.cargo-udeps.ignore]
normal = [
# Used for diagrams in docs
"aquamarine",
]
[dependencies]
# reth
reth-eth-wire.workspace = true
reth-primitives.workspace = true
reth-provider.workspace = true
reth-interfaces.workspace = true
reth-tasks.workspace = true
revm.workspace = true
alloy-rlp.workspace = true
reth-revm = { workspace = true, optional = true }
# async/futures
async-trait.workspace = true
futures-util.workspace = true
parking_lot.workspace = true
tokio = { workspace = true, default-features = false, features = ["sync"] }
tokio-stream.workspace = true
# metrics
reth-metrics.workspace = true
metrics.workspace = true
# misc
aquamarine.workspace = true
thiserror.workspace = true
tracing.workspace = true
schnellru.workspace = true
serde = { workspace = true, features = ["derive", "rc"], optional = true }
fnv = "1.0.7"
bitflags.workspace = true
auto_impl = "1.0"
# testing
rand = { workspace = true, optional = true }
paste = { version = "1.0", optional = true }
proptest = { workspace = true, optional = true }
[dev-dependencies]
reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-tracing.workspace = true
paste = "1.0"
rand = "0.8"
proptest.workspace = true
criterion.workspace = true
assert_matches.workspace = true
tempfile.workspace = true
[features]
default = ["serde"]
serde = ["dep:serde"]
test-utils = ["rand", "paste", "serde"]
arbitrary = ["proptest", "reth-primitives/arbitrary"]
optimism = [
"dep:reth-revm",
"reth-revm?/optimism",
"reth-primitives/optimism",
"reth-provider/test-utils",
"reth-provider/optimism",
"revm/optimism",
]
[[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