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

#305 in #context

Download history 10389/week @ 2024-07-21 9482/week @ 2024-07-28 10108/week @ 2024-08-04 11389/week @ 2024-08-11 11006/week @ 2024-08-18 10598/week @ 2024-08-25 9006/week @ 2024-09-01 10006/week @ 2024-09-08 28598/week @ 2024-09-15 36852/week @ 2024-09-22 39485/week @ 2024-09-29 38546/week @ 2024-10-06 39303/week @ 2024-10-13 45193/week @ 2024-10-20 36292/week @ 2024-10-27 50709/week @ 2024-11-03

173,397 downloads per month
Used in 788 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–2.9MB
~56K SLoC