Skip to content

Commit 14774da

Browse files
committed
make fbutil inherit dependencies from the workspace
1 parent 94954f2 commit 14774da

File tree

2 files changed

+67
-39
lines changed

2 files changed

+67
-39
lines changed

Cargo.toml

Lines changed: 53 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,7 @@ homepage = "https://github.com/flashbots/unichain-builder"
1616
authors = ["Flashbots <[email protected]>"]
1717
exclude = [".github/"]
1818

19-
[package]
20-
name = "unichain-builder"
21-
description = "Next-Gen Optimism L2 Block Builder"
22-
version.workspace = true
23-
edition.workspace = true
24-
rust-version.workspace = true
25-
license.workspace = true
26-
homepage.workspace = true
27-
repository.workspace = true
28-
authors.workspace = true
29-
exclude.workspace = true
30-
31-
[features]
32-
default = ["jemalloc"]
33-
jemalloc = ["rblib/jemalloc"]
34-
debug = ["tokio/full", "tokio/tracing", "dep:console-subscriber"]
35-
36-
[dependencies]
19+
[workspace.dependencies]
3720
rblib = { git = "https://github.com/flashbots/rblib", rev = "9eccd22047c3f8978ae022d575dca749a81684a8" }
3821
rollup-boost-types = { git = "https://github.com/flashbots/rollup-boost", rev = "b282527e5f46d0915d1e5bdf44338593bc8beb2d" }
3922

@@ -60,19 +43,62 @@ atomic-time = "0.1"
6043

6144
secp256k1 = "0.30"
6245
jsonrpsee = "0.26.0"
63-
64-
# debug flag
65-
console-subscriber = { version = "0.4", optional = true }
46+
console-subscriber = "0.4"
6647
tracing-subscriber = "0.3.20"
48+
dashmap = "6.1"
49+
orx-concurrent-vec = "3.7.0"
50+
51+
[package]
52+
name = "unichain-builder"
53+
description = "Next-Gen Optimism L2 Block Builder"
54+
version.workspace = true
55+
edition.workspace = true
56+
rust-version.workspace = true
57+
license.workspace = true
58+
homepage.workspace = true
59+
repository.workspace = true
60+
authors.workspace = true
61+
exclude.workspace = true
62+
63+
[features]
64+
default = ["jemalloc"]
65+
jemalloc = ["rblib/jemalloc"]
66+
debug = ["tokio/full", "tokio/tracing", "dep:console-subscriber"]
67+
68+
[dependencies]
69+
rblib = { workspace = true }
70+
rollup-boost-types = { workspace = true }
71+
72+
futures = { workspace = true }
73+
tokio = { workspace = true }
74+
tokio-tungstenite = { workspace = true }
75+
parking_lot = { workspace = true }
76+
eyre = { workspace = true }
77+
moka = { workspace = true }
78+
tracing = { workspace = true }
79+
clap = { workspace = true }
80+
reqwest = { workspace = true }
81+
serde = { workspace = true }
82+
serde_json = { workspace = true }
83+
serde_yaml = { workspace = true }
84+
itertools = { workspace = true }
85+
url = { workspace = true }
86+
rand = { workspace = true }
87+
derive_more = { workspace = true }
88+
shellexpand = { workspace = true }
89+
humantime = { workspace = true }
90+
atomic-time = { workspace = true }
91+
secp256k1 = { workspace = true }
92+
jsonrpsee = { workspace = true }
93+
console-subscriber = { workspace = true, optional = true }
94+
tracing-subscriber = { workspace = true }
6795

6896
[dev-dependencies]
69-
rblib = { git = "https://github.com/flashbots/rblib", rev = "9eccd22047c3f8978ae022d575dca749a81684a8", features = [
70-
"test-utils",
71-
] }
97+
rblib = { workspace = true, features = ["test-utils"] }
7298

73-
dashmap = "6.1"
74-
orx-concurrent-vec = "3.7.0"
75-
itertools = "0.14"
99+
dashmap = { workspace = true }
100+
orx-concurrent-vec = { workspace = true }
101+
itertools = { workspace = true }
76102

77103
[lints.rust]
78104
type_alias_bounds = "allow"

tools/fbutil/Cargo.toml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@ exclude.workspace = true
1313
[dependencies]
1414
unichain-builder = { path = "../.." }
1515

16-
rollup-boost-types = { git = "https://github.com/flashbots/rollup-boost", rev = "b282527e5f46d0915d1e5bdf44338593bc8beb2d" }
16+
rollup-boost-types = { workspace = true }
1717

18-
futures = "0.3"
19-
tokio = "1.46"
20-
tokio-tungstenite = "0.27"
21-
clap = { version = "4.4", features = ["derive", "env", "string"] }
22-
tracing = "0.1"
23-
serde = { version = "1.0", features = ["derive"] }
24-
serde_json = "1.0"
25-
eyre = "0.6"
26-
url = "2.5.2"
27-
rand = "0.9"
28-
humantime = "2.2"
18+
futures = { workspace = true }
19+
tokio = { workspace = true }
20+
tokio-tungstenite = { workspace = true }
21+
clap = { workspace = true }
22+
tracing = { workspace = true }
23+
serde = { workspace = true }
24+
serde_json = { workspace = true }
25+
eyre = { workspace = true }
26+
url = { workspace = true }
27+
rand = { workspace = true }
28+
humantime = { workspace = true }
29+
30+
# fbutil-specific dependencies
2931
human_format = "1.1.0"
3032
color-eyre = "0.6"
3133
chrono = "0.4.41"

0 commit comments

Comments
 (0)