43 releases

new 0.14.0 May 17, 2024
0.13.2 Apr 8, 2024
0.9.0 Mar 1, 2024
0.8.3 Dec 13, 2023
0.1.1 Oct 4, 2020

#2646 in Magic Beans

Download history 18530/week @ 2024-02-01 19958/week @ 2024-02-08 16841/week @ 2024-02-15 14735/week @ 2024-02-22 11576/week @ 2024-02-29 13793/week @ 2024-03-07 11306/week @ 2024-03-14 14933/week @ 2024-03-21 11711/week @ 2024-03-28 12996/week @ 2024-04-04 17011/week @ 2024-04-11 22292/week @ 2024-04-18 18363/week @ 2024-04-25 20082/week @ 2024-05-02 16303/week @ 2024-05-09 15760/week @ 2024-05-16

75,216 downloads per month
Used in 103 crates (22 directly)

Apache-2.0

27KB
629 lines

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.

Dependencies

~1.2–2MB
~41K SLoC