From 6d7f4700a58721db839330a23d082c68c6aec2a4 Mon Sep 17 00:00:00 2001 From: Joseph Livesey Date: Mon, 19 May 2025 11:56:30 -0400 Subject: [PATCH] fix: better organize dependencies Signed-off-by: Joseph Livesey --- Cargo.toml | 7 ++++++- tap_aggregator/Cargo.toml | 6 +++--- tap_core/Cargo.toml | 6 +++--- tap_graph/Cargo.toml | 4 ++-- tap_integration_tests/Cargo.toml | 6 +++--- tap_receipt/Cargo.toml | 2 +- 6 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a5f10459..d73c8e51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,10 +45,15 @@ serde = { version = "1.0.219", features = ["derive"] } serde_json = { version = "1.0.140", features = ["raw_value"] } strum = { version = "0.27.1", features = ["derive"] } rstest = "0.25.0" -tap_graph = { version = "0.2.1", path = "../tap_graph", features = ["v2"] } +tap_aggregator = { version = "0.5.2", path = "tap_aggregator" } +tap_eip712_message = { version = "0.2.1", path = "tap_eip712_message" } +tap_core = { version = "4.1.1", path = "tap_core" } +tap_graph = { version = "0.3.1", path = "tap_graph", features = ["v2"] } +tap_receipt = { version = "1.1.1", path = "tap_receipt" } thegraph-core = "0.15.0" thiserror = "2.0.12" tokio = { version = "1.44.2", features = ["macros", "signal"] } tonic = { version = "0.13.0", features = ["transport", "zstd"] } +tonic-build = "0.13.0" tower = { version = "0.5.2", features = ["util", "steer"] } tracing-subscriber = "0.3.19" diff --git a/tap_aggregator/Cargo.toml b/tap_aggregator/Cargo.toml index 5f34d769..6838c96f 100644 --- a/tap_aggregator/Cargo.toml +++ b/tap_aggregator/Cargo.toml @@ -27,8 +27,8 @@ rdkafka.workspace = true serde.workspace = true serde_json.workspace = true strum.workspace = true -tap_core = { path = "../tap_core", version = "4.1.1" } -tap_graph = { version = "0.3.1", path = "../tap_graph", features = ["v2"] } +tap_core.workspace = true +tap_graph.workspace = true thegraph-core = { workspace = true, features = ["alloy-eip712"] } tokio.workspace = true tonic.workspace = true @@ -36,7 +36,7 @@ tower.workspace = true tracing-subscriber.workspace = true [build-dependencies] -tonic-build = "0.13.0" +tonic-build.workspace = true [dev-dependencies] rand.workspace = true diff --git a/tap_core/Cargo.toml b/tap_core/Cargo.toml index 26cd5db4..ff2a217a 100644 --- a/tap_core/Cargo.toml +++ b/tap_core/Cargo.toml @@ -11,9 +11,9 @@ description = "Core Timeline Aggregation Protocol library: a fast, efficient and anyhow.workspace = true async-trait.workspace = true rand.workspace = true -tap_eip712_message = { version = "0.2.1", path = "../tap_eip712_message" } -tap_graph = { version = "0.3.1", path = "../tap_graph", optional = true } -tap_receipt = { version = "1.1.1", path = "../tap_receipt" } +tap_eip712_message.workspace = true +tap_graph = { workspace = true, optional = true } +tap_receipt.workspace = true thegraph-core.workspace = true thiserror.workspace = true tokio.workspace = true diff --git a/tap_graph/Cargo.toml b/tap_graph/Cargo.toml index 6d11a79b..4e7f1cf2 100644 --- a/tap_graph/Cargo.toml +++ b/tap_graph/Cargo.toml @@ -9,8 +9,8 @@ description = "The Graph TAP receipt structs" [dependencies] rand.workspace = true serde.workspace = true -tap_eip712_message = { version = "0.2.1", path = "../tap_eip712_message" } -tap_receipt = { version = "1.1.1", path = "../tap_receipt" } +tap_eip712_message.workspace = true +tap_receipt.workspace = true thegraph-core.workspace = true diff --git a/tap_integration_tests/Cargo.toml b/tap_integration_tests/Cargo.toml index 809fcfb3..f926adf7 100644 --- a/tap_integration_tests/Cargo.toml +++ b/tap_integration_tests/Cargo.toml @@ -9,9 +9,9 @@ description = "Integration tests for the Timeline Aggregation Protocol." publish = false [dependencies] -tap_aggregator = { path = "../tap_aggregator" } -tap_core = { path = "../tap_core", version = "4.1.1" } -tap_graph = { path = "../tap_graph" } +tap_aggregator.workspace = true +tap_core.workspace = true +tap_graph.workspace = true anyhow.workspace = true jsonrpsee = { workspace = true, features = ["jsonrpsee-http-client"] } diff --git a/tap_receipt/Cargo.toml b/tap_receipt/Cargo.toml index d2697cb3..d2270220 100644 --- a/tap_receipt/Cargo.toml +++ b/tap_receipt/Cargo.toml @@ -11,7 +11,7 @@ anyhow.workspace = true anymap3.workspace = true async-trait.workspace = true serde.workspace = true -tap_eip712_message = { version = "0.2.1", path = "../tap_eip712_message" } +tap_eip712_message.workspace = true thegraph-core.workspace = true thiserror.workspace = true