Skip to content

chore: migrate rust/performance_counters to icp-cli#1399

Draft
marc0olo wants to merge 2 commits into
masterfrom
chore/migrate-rust-performance-counters-to-icp-cli
Draft

chore: migrate rust/performance_counters to icp-cli#1399
marc0olo wants to merge 2 commits into
masterfrom
chore/migrate-rust-performance-counters-to-icp-cli

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Summary

  • Migrate rust/performance_counters from dfx to icp-cli (icp.yaml, @dfinity/rust@v3.3.0)
  • Move Rust source from src/lib.rs to backend/lib.rs; add workspace Cargo.toml with members = ["backend"]
  • Update inter-canister call API from deprecated ic_cdk::call() to ic_cdk::call::Call and ic_cdk::api::canister_self() (ic-cdk 0.20)
  • Add Makefile with make test asserting non-zero counters for for_update, for_composite_query, and example
  • Add CI workflow (.github/workflows/performance_counters.yml) with ghcr.io/dfinity/icp-dev-env-rust:1.0.0
  • Delete dfx.json, BUILD.md, performance_counters.did, .devcontainer/

Test plan

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

marc0olo and others added 2 commits June 17, 2026 18:59
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-performance-counters-to-icp-cli branch from 0e7dd6d to 33526ce Compare June 17, 2026 17:00
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