Skip to content

Commit 15ea55d

Browse files
authored
Merge pull request #9 from graphprotocol/tmigone/refactor-deps
chore: refactor workspace dependency imports
2 parents bc9f1b4 + 1a80ba8 commit 15ea55d

6 files changed

Lines changed: 11 additions & 16 deletions

File tree

‎Cargo.toml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ serde = { version = "1.0.219", features = ["derive"] }
4646
serde_json = { version = "1.0.140", features = ["raw_value"] }
4747
strum = { version = "0.27.1", features = ["derive"] }
4848
rstest = "0.25.0"
49-
graph_tally_aggregator = { version = "0.6.4", path = "crates/aggregator" }
50-
graph_tally_eip712_message = { version = "0.2.3", path = "crates/eip712_message" }
51-
graph_tally_core = { version = "6.0.3", path = "crates/core" }
52-
graph_tally_graph = { version = "0.3.5", path = "crates/graph" }
53-
graph_tally_receipt = { version = "1.1.4", path = "crates/receipt" }
5449
thegraph-core = "0.15.1"
5550
thiserror = "2.0.12"
5651
tokio = { version = "1.44.2", features = ["macros", "signal"] }

‎crates/aggregator/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ rdkafka.workspace = true
2828
serde.workspace = true
2929
serde_json.workspace = true
3030
strum.workspace = true
31-
graph_tally_core.workspace = true
32-
graph_tally_graph.workspace = true
31+
graph_tally_core = { path = "../core" }
32+
graph_tally_graph = { path = "../graph" }
3333
thegraph-core = { workspace = true, features = ["alloy-eip712"] }
3434
tokio.workspace = true
3535
tonic.workspace = true

‎crates/core/Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ description = "Core Graph Tally library: a fast, efficient and trustless unidire
1111
anyhow.workspace = true
1212
async-trait.workspace = true
1313
rand.workspace = true
14-
graph_tally_eip712_message.workspace = true
15-
graph_tally_graph = { workspace = true, optional = true }
16-
graph_tally_receipt.workspace = true
14+
graph_tally_eip712_message = { path = "../eip712_message" }
15+
graph_tally_graph = { path = "../graph", optional = true }
16+
graph_tally_receipt = { path = "../receipt" }
1717
thegraph-core.workspace = true
1818
thiserror.workspace = true
1919
tokio.workspace = true

‎crates/graph/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ description = "The Graph Tally receipt structs"
1010
[dependencies]
1111
rand.workspace = true
1212
serde.workspace = true
13-
graph_tally_eip712_message.workspace = true
14-
graph_tally_receipt.workspace = true
13+
graph_tally_eip712_message = { path = "../eip712_message" }
14+
graph_tally_receipt = { path = "../receipt" }
1515
thegraph-core.workspace = true
1616

1717
[dev-dependencies]

‎crates/integration_tests/Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ description = "Integration tests for Graph Tally."
1010
publish = false
1111

1212
[dependencies]
13-
graph_tally_aggregator.workspace = true
14-
graph_tally_core.workspace = true
15-
graph_tally_graph.workspace = true
13+
graph_tally_aggregator = { path = "../aggregator" }
14+
graph_tally_core = { path = "../core" }
15+
graph_tally_graph = { path = "../graph" }
1616

1717
anyhow.workspace = true
1818
jsonrpsee = { workspace = true, features = ["jsonrpsee-http-client"] }

‎crates/receipt/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ anyhow.workspace = true
1212
anymap3.workspace = true
1313
async-trait.workspace = true
1414
serde.workspace = true
15-
graph_tally_eip712_message.workspace = true
15+
graph_tally_eip712_message = { path = "../eip712_message" }
1616
thegraph-core.workspace = true
1717
thiserror.workspace = true
1818

0 commit comments

Comments
 (0)