Skip to content

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

Draft
marc0olo wants to merge 2 commits 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 2 commits 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

marc0olo and others added 2 commits June 17, 2026 19:01
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e to 1.0.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marc0olo marc0olo force-pushed the chore/migrate-rust-inter-canister-calls-to-icp-cli branch from 8d577d1 to bbef37c Compare June 17, 2026 17:02
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