Crate ic_cdk_macros

Source
Expand description

Documentation Crates.io License Downloads CI

§ic-cdk-macros

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

§Register functions as canister entry points

These macros are directly related to the Internet Computer Specification.

§Export Candid definitions

Check Generating Candid files for Rust canisters for more details.

Macros§

Attribute Macros§