From 06cdf3f2bff4db56c959ab5701cf617f12580e7a Mon Sep 17 00:00:00 2001 From: Marco Walz Date: Wed, 17 Jun 2026 21:07:01 +0200 Subject: [PATCH] chore(recipes): bump @dfinity/rust to v3.3.0 and drop redundant package field Aligns all three Rust templates on @dfinity/rust@v3.3.0 (was v3.1.0/v3.2.0). v3.3.0 makes the `package` configuration field optional, defaulting to the canister name. Since each canister is already named `backend` (matching the Cargo package), the explicit `package: backend` lines are now redundant and have been removed. Co-Authored-By: Claude Opus 4.8 (1M context) --- bitcoin-starter/rust-backend/canister.yaml | 3 +-- hello-world/rust-backend/canister.yaml | 4 +--- rust/icp.yaml | 4 +--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/bitcoin-starter/rust-backend/canister.yaml b/bitcoin-starter/rust-backend/canister.yaml index 0c7891a..0903730 100644 --- a/bitcoin-starter/rust-backend/canister.yaml +++ b/bitcoin-starter/rust-backend/canister.yaml @@ -2,9 +2,8 @@ name: backend recipe: - type: "@dfinity/rust@v3.2.0" + type: "@dfinity/rust@v3.3.0" configuration: - package: backend shrink: true candid: backend.did metadata: diff --git a/hello-world/rust-backend/canister.yaml b/hello-world/rust-backend/canister.yaml index d46cc71..7639ad2 100644 --- a/hello-world/rust-backend/canister.yaml +++ b/hello-world/rust-backend/canister.yaml @@ -2,10 +2,8 @@ # name: backend recipe: - type: "@dfinity/rust@v3.1.0" + type: "@dfinity/rust@v3.3.0" configuration: - # cargo package for canister (required field) - package: backend shrink: true # optional candid: backend.did diff --git a/rust/icp.yaml b/rust/icp.yaml index ad31639..7d78a3b 100644 --- a/rust/icp.yaml +++ b/rust/icp.yaml @@ -2,10 +2,8 @@ canisters: - name: backend recipe: - type: "@dfinity/rust@v3.2.0" + type: "@dfinity/rust@v3.3.0" configuration: - # cargo package for canister (required field) - package: backend shrink: true # optional candid: {{ project-name }}.did