Skip to content

Commit 4b35be1

Browse files
authored
chore: Fix building the Rust password_manager example (#267)
The password_manager example failed to build because the `backend` symlink points to a canister that uses workspace dependency inheritance ({ workspace = true }), but the example's own workspace didn't define `[workspace.dependencies]`. Fixed by adding the required workspace dependencies to both the example's `Cargo.toml` and the root `Cargo.toml`, and updating the canister to use workspace inheritance for ic-vetkeys.
1 parent 4d4b14a commit 4b35be1

File tree

4 files changed

+561
-603
lines changed

4 files changed

+561
-603
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ candid = "0.10.16"
2626
hex = "0.4.3"
2727
ic-cdk = "0.19.0"
2828
ic-stable-structures = "0.7.0"
29+
ic-vetkeys = { path = "backend/rs/ic_vetkeys" }
2930
lazy_static = "1.5.0"
3031
pocket-ic = "9.0.0"
3132
rand = "0.8.5"

backend/rs/canisters/ic_vetkeys_encrypted_maps_canister/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ candid = "0.10.2"
1717
ic-cdk = { workspace = true }
1818
ic-dummy-getrandom-for-wasm = "0.1.0"
1919
ic-stable-structures = { workspace = true }
20-
ic-vetkeys = { path = "../../ic_vetkeys" }
20+
ic-vetkeys = { workspace = true }
2121
serde = "1.0.217"
2222

2323
[dev-dependencies]

0 commit comments

Comments
 (0)