Skip to content

Commit 89b0c90

Browse files
authored
fix: reference intra-workspace dependencies by their path (#1319)
1 parent b1b0333 commit 89b0c90

19 files changed

Lines changed: 45 additions & 55 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -182,16 +182,6 @@ text-tables = "0.3.1"
182182
url = { version = "2.4.1", features = ["serde"] }
183183
zeroize = "1.6"
184184

185-
# Workspace deps
186-
ipc-api = { path = "ipc/api" }
187-
ipc-provider = { path = "ipc/provider" }
188-
ipc-wallet = { path = "ipc/wallet", features = ["with-ethers"] }
189-
ipc_ipld_resolver = { path = "ipld/resolver" }
190-
ipc-types = { path = "ipc/types" }
191-
ipc-observability = { path = "ipc/observability" }
192-
ipc_actors_abis = { path = "contract-bindings" }
193-
actors-custom-api = { path = "fendermint/actors/api" }
194-
195185
# Vendored for cross-compilation, see https://github.com/cross-rs/cross/wiki/Recipes#openssl
196186
# Make sure every top level build target actually imports this dependency, and don't end up
197187
# depending on the same _without_ the "vendored" feature, because then the Docker build for

fendermint/actors/gas_market/eip1559/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ crate-type = ["cdylib", "lib"]
1414
[dependencies]
1515
anyhow = { workspace = true }
1616
cid = { workspace = true }
17-
actors-custom-api = { workspace = true }
17+
actors-custom-api = { path = "../../api" }
1818
fil_actors_runtime = { workspace = true }
1919
fvm_ipld_blockstore = { workspace = true }
2020
fvm_ipld_encoding = { workspace = true }

fendermint/app/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ fvm_ipld_blockstore = { workspace = true }
7777
fvm_ipld_car = { workspace = true }
7878
fvm_ipld_encoding = { workspace = true }
7979
fvm_shared = { workspace = true }
80-
ipc-api = { workspace = true }
81-
ipc-provider = { workspace = true }
82-
ipc_ipld_resolver = { workspace = true }
83-
ipc-observability = { workspace = true }
80+
ipc-api = { path = "../../ipc/api" }
81+
ipc-provider = { path = "../../ipc/provider" }
82+
ipc_ipld_resolver = { path = "../../ipld/resolver" }
83+
ipc-observability = { path = "../../ipc/observability" }
8484

8585
[dev-dependencies]
8686
tempfile = { workspace = true }

fendermint/app/options/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ tracing-subscriber = { workspace = true }
2323
cid = { workspace = true }
2424
fvm_ipld_encoding = { workspace = true }
2525
fvm_shared = { workspace = true }
26-
ipc-api = { workspace = true }
27-
ipc-types = { workspace = true }
26+
ipc-api = { path = "../../../ipc/api" }
27+
ipc-types = { path = "../../../ipc/types" }
2828
url = { workspace = true }
29-
ipc-observability = { workspace = true }
29+
ipc-observability = { path = "../../../ipc/observability" }
3030

3131
fendermint_vm_genesis = { path = "../../vm/genesis" }
3232
fendermint_vm_actor_interface = { path = "../../vm/actor_interface" }

fendermint/app/settings/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ tracing = { workspace = true }
2626

2727
fvm_shared = { workspace = true }
2828
fvm_ipld_encoding = { workspace = true }
29-
ipc-api = { workspace = true }
30-
ipc-provider = { workspace = true }
31-
ipc-observability = { workspace = true }
29+
ipc-api = { path = "../../../ipc/api" }
30+
ipc-provider = { path = "../../../ipc/provider" }
31+
ipc-observability = { path = "../../../ipc/observability" }
3232

3333
fendermint_vm_encoding = { path = "../../vm/encoding" }
3434
fendermint_vm_topdown = { path = "../../vm/topdown" }

fendermint/testing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rand = { workspace = true, optional = true }
2424
cid = { workspace = true, optional = true }
2525
fvm_ipld_encoding = { workspace = true, optional = true }
2626
fvm_shared = { workspace = true, optional = true, features = ["arb"] }
27-
ipc-api = { workspace = true, optional = true }
27+
ipc-api = { path = "../../ipc/api", optional = true }
2828
fs-err = { workspace = true }
2929

3030
[dev-dependencies]

fendermint/testing/contract-test/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ tokio = { workspace = true }
2222
byteorder = { workspace = true }
2323
fvm_ipld_encoding = { workspace = true }
2424

25-
ipc-api = { workspace = true }
26-
ipc_actors_abis = { workspace = true }
25+
ipc-api = { path = "../../../ipc/api" }
26+
ipc_actors_abis = { path = "../../../contract-bindings" }
2727

28-
actors-custom-api = { workspace = true }
28+
actors-custom-api = { path = "../../actors/api" }
2929
fendermint_testing = { path = "..", features = ["smt", "arb"] }
3030
fendermint_crypto = { path = "../../crypto" }
3131
fendermint_vm_actor_interface = { path = "../../vm/actor_interface" }

fendermint/vm/actor_interface/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ fvm_ipld_hamt = { workspace = true }
2626
fvm_ipld_blockstore = { workspace = true }
2727

2828
fil_actors_evm_shared = { workspace = true }
29-
ipc_actors_abis = { workspace = true }
30-
ipc-api = { workspace = true }
29+
ipc_actors_abis = { path = "../../../contract-bindings" }
30+
ipc-api = { path = "../../../ipc/api" }
3131

3232
# The following is disabled so its dependency on an earlier version of fvm_shared doesn't
3333
# stop us from using the latest version of the FVM. It can be re-enabled if there are more

fendermint/vm/encoding/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ num-traits = { workspace = true }
1414

1515
cid = { workspace = true }
1616
fvm_shared = { workspace = true }
17-
ipc-api = { workspace = true }
17+
ipc-api = { path = "../../../ipc/api" }

fendermint/vm/genesis/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ tendermint = { workspace = true }
2121
cid = { workspace = true, optional = true }
2222
multihash = { workspace = true, optional = true }
2323
fvm_shared = { workspace = true }
24-
ipc-api = { workspace = true }
24+
ipc-api = { path = "../../../ipc/api" }
2525
fendermint_actor_eam = { workspace = true }
2626

2727
fendermint_crypto = { path = "../../crypto" }
@@ -34,7 +34,7 @@ quickcheck = { workspace = true }
3434
quickcheck_macros = { workspace = true }
3535
hex = { workspace = true }
3636
serde_json = { workspace = true }
37-
ipc-types = {workspace = true}
37+
ipc-types = { path = "../../../ipc/types"}
3838

3939
# Enable arb on self for tests.
4040
fendermint_vm_genesis = { path = ".", features = ["arb"] }

0 commit comments

Comments
 (0)