ic-management-canister-types

Crates.ioic-management-canister-types
lib.rsic-management-canister-types
version0.4.0
created_at2025-01-22 18:27:36.533435+00
updated_at2025-08-25 19:13:27.438917+00
descriptionTypes for calling the IC management canister
homepagehttps://docs.rs/ic-management-canister-types
repositoryhttps://github.com/dfinity/cdk-rs
max_upload_size
id1526951
size95,178
(dfinity-publish)

documentation

https://docs.rs/ic-management-canister-types

README

ic-management-canister-types

Types for calling the IC management canister.

This module is a direct translation from its Candid interface description.

Correctness

This crate ensures type definition correctness through the candid_equality.rs test.

The test defines a dummy Canister covering all Management Canister entry points available for inter-canister calls.

It then asserts the equality of the dummy canister's interface with the specified interface in ic.did.

The ic.did is sourced from the Internet Computer Interface Specification.

Some methods are excluded (commented out) as follows:

  • Bitcoin API: These functionalities are planned to migrate from the Management Canister to the Bitcoin Canister.
  • fetch_canister_logs: This method is only available for ingress messages (using an agent) and cannot be invoked in inter-canister calls.
Commit count: 389

cargo fmt