chore(recipes): bump @dfinity/rust to v3.3.0 and drop redundant package field#33
Merged
Conversation
…ge 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) <noreply@anthropic.com>
lwshang
approved these changes
Jun 17, 2026
raymondk
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns all three Rust templates on
@dfinity/rust@v3.3.0and removes the now-redundantpackagefield from the recipe configuration.Previously the templates were on inconsistent versions:
rust/icp.yamlv3.2.0v3.3.0hello-world/rust-backend/canister.yamlv3.1.0v3.3.0bitcoin-starter/rust-backend/canister.yamlv3.2.0v3.3.0Why drop
package?rust-v3.3.0makes thepackageconfiguration field optional — when omitted, the canister name from the manifest is used automatically. Each canister is already namedbackend, matching the[package] nameinCargo.toml, so the explicitpackage: backendlines (and their "required field" comments) are redundant and have been removed.Verification
grep -rn "@dfinity/rust" --include="*.yaml" .→ all three show@dfinity/rust@v3.3.0package:entries in the three recipe configsbackend) matches the Cargo package name in all three templates, so the recipe resolves the package by name🤖 Generated with Claude Code