37 releases (16 major breaking)

18.0.0 Feb 26, 2024
17.0.0 Jan 23, 2024
16.0.0 Dec 12, 2023
15.0.0 Nov 1, 2023
2.0.0-alpha.5 Mar 24, 2020

#263 in #context

Download history 7686/week @ 2024-06-13 10459/week @ 2024-06-20 9106/week @ 2024-06-27 7750/week @ 2024-07-04 11350/week @ 2024-07-11 11021/week @ 2024-07-18 9623/week @ 2024-07-25 10572/week @ 2024-08-01 10730/week @ 2024-08-08 10742/week @ 2024-08-15 11250/week @ 2024-08-22 9669/week @ 2024-08-29 9322/week @ 2024-09-05 20014/week @ 2024-09-12 36286/week @ 2024-09-19 27207/week @ 2024-09-26

94,682 downloads per month
Used in 783 crates (2 directly)

Apache-2.0

61KB
1K SLoC

This crate provides procedural macros for usage within the context of the Substrate runtime interface.

The following macros are provided:

  1. The #[runtime_interface] attribute macro for generating the runtime interfaces.
  2. The PassByCodec derive macro for implementing PassBy with Codec. 3. The PassByEnum derive macro for implementing PassBy with Enum. 4. The PassByInner derive macro for implementing PassBy with Inner.

Dependencies

~2–3MB
~56K SLoC