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

#33 in #inner

Download history 34093/week @ 2024-12-01 42803/week @ 2024-12-08 33629/week @ 2024-12-15 12214/week @ 2024-12-22 16854/week @ 2024-12-29 31966/week @ 2025-01-05 46784/week @ 2025-01-12 43269/week @ 2025-01-19 35976/week @ 2025-01-26 41893/week @ 2025-02-02 45732/week @ 2025-02-09 43083/week @ 2025-02-16 39088/week @ 2025-02-23 37627/week @ 2025-03-02 40752/week @ 2025-03-09 34283/week @ 2025-03-16

154,004 downloads per month
Used in 812 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

~3–4MB
~87K SLoC