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

#326 in #context

Download history 4514/week @ 2023-12-23 6933/week @ 2023-12-30 11716/week @ 2024-01-06 9881/week @ 2024-01-13 11067/week @ 2024-01-20 9759/week @ 2024-01-27 12937/week @ 2024-02-03 15140/week @ 2024-02-10 11351/week @ 2024-02-17 11475/week @ 2024-02-24 10992/week @ 2024-03-02 12352/week @ 2024-03-09 12611/week @ 2024-03-16 11679/week @ 2024-03-23 14457/week @ 2024-03-30 10698/week @ 2024-04-06

51,284 downloads per month
Used in 723 crates (via sp-runtime-interface)

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.7MB
~56K SLoC