Skip to main content Crate canic_cdk Copy item path Source pub use candid ;pub use ic_cdk_management_canister as mgmt;pub use ic_cdk_timers as timers;pub use icrc_ledger_types ;api System API bindings. call Inter-canister Call API env Environment constants grouped by domain (ck, NNS, SNS). futures Functions relating to the async executor. spec Canonical representations of external IC specs (ICRC, NNS, SNS, etc.).
This module corrals the verbose candid bindings so the rest of the codebase
can import clean wrappers with consistent naming. structures Stable-structure re-exports plus a few small Canic wrappers. types Common IC-facing value types re-exported through the Canic CDK surface. utils Small runtime-safe helpers shared across the Canic stack. eprintln Format and then print the formatted message export_candid export_candid_debug Export Candid only in debug builds. println Format and then print the formatted message trap Traps with the given message. init post_upgrade query update