This crate contains a collection of procedural macros that are utilized within the ic-cdk
crate.
The macros are re-exported in ic-cdk
, and you can find their documentation there.
The macros fall into two categories:
- To register functions as canister entry points
- To export Candid definitions
These macros are directly related to the Internet Computer Specification.
Check Generating Candid files for Rust canisters for more details.