Skip to content

chore: migrate rust/inter-canister-calls to icp-cli#1420

Draft
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-inter-canister-calls-to-icp-cli
Draft

chore: migrate rust/inter-canister-calls to icp-cli#1420
marc0olo wants to merge 1 commit into
masterfrom
chore/migrate-rust-inter-canister-calls-to-icp-cli

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

  • Replaces dfx.json with icp.yaml using @dfinity/rust@v3.3.0 for both counter and caller canisters
  • Moves source from src/caller/ and src/counter/ into top-level caller/ and counter/ subdirs
  • Updates workspace Cargo.toml, per-crate Cargo.toml files (ic-cdk 0.20, removes ic-cdk-macros), and regenerates Cargo.lock
  • Adds rust-toolchain.toml with wasm32-unknown-unknown target
  • Replaces dfx-based Makefile with icp canister call tests (10 tests covering all public methods)
  • Adds new CI workflow inter-canister-calls.yml with ghcr.io/dfinity/icp-dev-env-rust:1.0.0; deletes legacy rust-inter-canister-calls.yaml
  • Deletes dfx.json, BUILD.md, .devcontainer/, src/caller/caller.did, src/counter/counter.did
  • Updates README to use icp-cli commands

Test plan

  • CI passes
  • icp network start -d && icp deploy && make test succeeds locally

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant