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.
Re-exports crates those are necessary for using ic-cdk
Tools for managing stable storage of data in a canister.
Provides simple timer functionality for executing a function in the future.
Macros
Format and then print the formatted message
Format and then print the formatted message
Functions
Setup the stdlib hooks.
Spawn an asynchronous task that drives the provided future to
completion.
Attribute Macros
Register the
canister_heartbeat
entry point of a canister.Import another canister as a rust struct.
Register the
canister_init
entry point of a canister.Register the
canister_inspect_message
entry point of a canister.Register the
canister_post_upgrade
entry point of a canister.Register the
canister_pre_upgrade
entry point of a canister.Register a query call entry point.
Register an update call entry point.