22 releases (8 major breaking)

10.0.0 Feb 26, 2023
9.0.0 Feb 12, 2023
8.0.0 Feb 1, 2023
7.0.0 Dec 14, 2022
2.0.0-alpha.5 Mar 24, 2020

#299 in #node

Download history 3832/week @ 2022-12-02 5863/week @ 2022-12-09 5761/week @ 2022-12-16 3392/week @ 2022-12-23 2399/week @ 2022-12-30 4699/week @ 2023-01-06 4307/week @ 2023-01-13 5837/week @ 2023-01-20 5853/week @ 2023-01-27 6296/week @ 2023-02-03 5399/week @ 2023-02-10 6692/week @ 2023-02-17 9622/week @ 2023-02-24 6930/week @ 2023-03-03 7316/week @ 2023-03-10 5374/week @ 2023-03-17

30,105 downloads per month
Used in 399 crates (via sp-runtime-interface)

Apache-2.0

57KB
1K SLoC

sp-runtime-interface-proc-macro

Auto-generated README.md for publishing to crates.io


lib.rs:

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

~3MB
~60K SLoC