Commit 1b6a681
chore: migrate rust/composite_query to icp-cli
- Replace dfx.json with icp.yaml using @dfinity/rust@v3.3.0
- Rename canisters: kv_frontend → caller, data_partition → callee
- Move each canister into its own subdirectory (caller/, callee/)
- Update workspace Cargo.toml to reference new members
- Rewrite caller/lib.rs: replace ic_cdk::api::management_canister with
ic-cdk-management-canister crate, replace ic_cdk::api::call::call with
ic_cdk::call::Call::bounded_wait pattern
- Add Makefile with 7 tests covering put, composite query get, get_update,
null lookup, multi-partition routing, and lookup composite query
- Add rust-toolchain.toml with wasm32-unknown-unknown target
- Add rust-composite_query job to composite_query.yml workflow
- Delete legacy rust-composite_query-example.yml workflow
- Update README with icp-cli deploy instructions and architecture diagram
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bafb2cf commit 1b6a681
18 files changed
Lines changed: 291 additions & 1170 deletions
File tree
- .github/workflows
- rust/composite_query
- callee
- caller
- src
- data_partition
- kv_frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
This file was deleted.
0 commit comments