Expand description
This crate provides building blocks for developing Internet Computer canisters.
You can check the Internet Computer Specification for a full list of the system API functions.
Re-exports§
pub use api::call::call;pub use api::call::notify;pub use api::caller;pub use api::id;pub use api::print;pub use api::trap;
Modules§
- System API and low level functions for it.
- Tools for managing stable storage of data in a canister.
Macros§
- Format and then print the formatted message
- Create a
get_candid_pointermethod so thatdfxcan execute it to extract candid definition. - Format and then print the formatted message
Functions§
- block_
on Deprecated See documentation for spawn. - Setup the stdlib hooks.
- Spawn an asynchronous task that drives the provided future to completion.
Attribute Macros§
- Register the
canister_heartbeatentry point of a canister. - Register the
canister_initentry point of a canister. - Register the
canister_inspect_messageentry point of a canister. - Register the
canister_post_upgradeentry point of a canister. - Register the
canister_pre_upgradeentry point of a canister. - Register a query call entry point.
- Register an update call entry point.