4 releases (2 breaking)

0.3.0 Mar 17, 2025
0.2.1 Feb 28, 2025
0.2.0 Feb 18, 2025
0.1.0 Jan 22, 2025

#13 in #canister

Download history 122/week @ 2025-01-22 6/week @ 2025-02-05 180/week @ 2025-02-12 739/week @ 2025-02-19 2108/week @ 2025-02-26 3203/week @ 2025-03-05 3634/week @ 2025-03-12 4405/week @ 2025-03-19 4293/week @ 2025-03-26 4136/week @ 2025-04-02 4629/week @ 2025-04-09

18,227 downloads per month

Apache-2.0

48KB
649 lines

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 endpoints 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.

Dependencies

~2.1–9MB
~90K SLoC