44 releases (11 breaking)
0.15.0 | Jul 1, 2024 |
---|---|
0.13.3 | May 10, 2024 |
0.9.0 | Mar 1, 2024 |
0.8.3 | Dec 13, 2023 |
0.1.1 | Oct 4, 2020 |
#2283 in Magic Beans
78,041 downloads per month
Used in 116 crates
(27 directly)
27KB
629 lines
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.
Dependencies
~1.1–2MB
~41K SLoC