Skip to content

Commit 47ff48c

Browse files
committed
build: centralize dependency imports in workspace manifest
Signed-off-by: Joseph Livesey <[email protected]>
1 parent 8ddc855 commit 47ff48c

File tree

5 files changed

+48
-30
lines changed

5 files changed

+48
-30
lines changed

Cargo.toml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,38 @@ license = "Apache-2.0"
1616
repository = "https://github.com/semiotic-ai/timeline-aggregation-protocol"
1717

1818
[workspace.dependencies]
19+
anyhow = { version = "1.0.95" }
20+
anymap3 = "1.0.1"
21+
async-trait = "0.1.85"
22+
axum = { version = "0.7.5", features = [
23+
"http1",
24+
"json",
25+
"matched-path",
26+
"original-uri",
27+
"query",
28+
"tokio",
29+
], default-features = false }
30+
clap = { version = "4.5.15", features = ["derive", "env"] }
31+
criterion = { version = "0.5.1", features = ["async_std"] }
32+
futures-util = "0.3.28"
33+
hyper = { version = "1", features = ["full"] }
34+
jsonrpsee = { version = "0.24.7", features = ["macros", "server"] }
35+
jsonrpsee-core = "0.24.7"
36+
lazy_static = "1.4.0"
37+
log = "0.4.19"
38+
prometheus = "0.13.3"
39+
prost = "0.13.3"
40+
rayon = "1.10.0"
41+
rdkafka = { version = "0.37.0", features = ["tokio", "sasl"] }
1942
serde = { version = "1.0.217", features = ["derive"] }
43+
strum = { version = "0.26.3", features = ["derive"] }
2044
rstest = "0.24.0"
21-
anyhow = { version = "1.0.95" }
45+
tap_graph = { version = "0.2.1", path = "../tap_graph", features = ["v2"] }
2246
tokio = { version = "1.43.0", features = ["macros", "signal"] }
47+
tonic = { version = "0.12.3", features = ["transport", "zstd"] }
48+
tower = { version = "0.5.2", features = ["util", "steer"] }
49+
tracing-subscriber = "0.3.17"
2350
rand = "0.8.5"
24-
jsonrpsee = { version = "0.24.7", features = ["macros", "server"] }
2551
insta = { version = "1.42.0", features = ["json"] }
2652
serde_json = { version = "1.0.137", features = ["raw_value"] }
2753
thegraph-core = "0.12.0"

tap_aggregator/Cargo.toml

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,31 @@ path = "src/main.rs"
1313

1414
[dependencies]
1515
anyhow.workspace = true
16-
axum = { version = "0.7.5", features = [
17-
"http1",
18-
"json",
19-
"matched-path",
20-
"original-uri",
21-
"query",
22-
"tokio",
23-
], default-features = false }
24-
clap = { version = "4.5.15", features = ["derive", "env"] }
25-
futures-util = "0.3.28"
26-
hyper = { version = "1", features = ["full"] }
27-
jsonrpsee = { workspace = true, features = ["server", "macros"] }
28-
lazy_static = "1.4.0"
29-
log = "0.4.19"
30-
prometheus = "0.13.3"
31-
prost = "0.13.3"
32-
rayon = "1.10.0"
16+
axum.workspace = true
17+
clap.workspace = true
18+
futures-util.workspace = true
19+
hyper.workspace = true
20+
jsonrpsee.workspace = true
21+
lazy_static.workspace = true
22+
log.workspace = true
23+
prometheus.workspace = true
24+
prost.workspace = true
25+
rayon.workspace = true
3326
serde.workspace = true
3427
serde_json.workspace = true
35-
strum = { version = "0.26.3", features = ["derive"] }
28+
strum.workspace = true
3629
tap_core = { path = "../tap_core", version = "4.0.0" }
3730
thegraph-core = { workspace = true, features = ["alloy-eip712"] }
3831
tokio.workspace = true
39-
tonic = { version = "0.12.3", features = ["transport", "zstd"] }
40-
tower = { version = "0.5.2", features = ["util", "steer"] }
41-
tracing-subscriber = "0.3.17"
32+
tonic.workspace = true
33+
tower.workspace = true
34+
tracing-subscriber.workspace = true
4235
tap_graph = { version = "0.2.1", path = "../tap_graph", features = ["v2"] }
43-
rdkafka = { version = "0.37.0", features = ["tokio", "sasl"] }
36+
rdkafka.workspace = true
4437

4538
[build-dependencies]
4639
tonic-build = "0.12.3"
4740

4841
[dev-dependencies]
49-
jsonrpsee = { workspace = true, features = ["http-client", "jsonrpsee-core"] }
5042
rand.workspace = true
5143
rstest.workspace = true

tap_core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Core Timeline Aggregation Protocol library: a fast, efficient and
99

1010
[dependencies]
1111
anyhow.workspace = true
12-
async-trait = "0.1.85"
12+
async-trait.workspace = true
1313
rand.workspace = true
1414
tap_eip712_message = { version = "0.1.0", path = "../tap_eip712_message" }
1515
tap_graph = { version = "0.2.1", path = "../tap_graph", optional = true }
@@ -19,7 +19,7 @@ thiserror.workspace = true
1919
tokio.workspace = true
2020

2121
[dev-dependencies]
22-
criterion = { version = "0.5.1", features = ["async_std"] }
22+
criterion.workspace = true
2323
insta.workspace = true
2424
rstest.workspace = true
2525
serde_json.workspace = true

tap_integration_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ anyhow.workspace = true
1616
thegraph-core.workspace = true
1717
tokio.workspace = true
1818
jsonrpsee = { workspace = true, features = ["jsonrpsee-http-client"] }
19-
jsonrpsee-core = "0.24.7"
19+
jsonrpsee-core.workspace = true
2020
tap_graph = { path = "../tap_graph" }
2121

2222
[dev-dependencies]

tap_receipt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ description = "TAP Receipt states and checks"
88

99
[dependencies]
1010
anyhow.workspace = true
11-
anymap3 = "1.0.1"
12-
async-trait = "0.1.85"
11+
anymap3.workspace = true
12+
async-trait.workspace = true
1313
serde.workspace = true
1414
tap_eip712_message = { version = "0.1.0", path = "../tap_eip712_message" }
1515
thegraph-core.workspace = true

0 commit comments

Comments
 (0)