#contract #elrond #blockchain #macro-derive #wasm

macro no-std elrond-codec-derive

Macro implementations of elrond-codec #[derive(NestedEncode, NestedDecode, TopEncode, TopDecode)]

23 releases (12 breaking)

0.16.0 Dec 15, 2022
0.14.0 Oct 13, 2022
0.12.0 Jul 8, 2022
0.10.0 Mar 17, 2022
0.4.2 Dec 28, 2020

#19 in #elrond

Download history 153/week @ 2024-07-29 85/week @ 2024-08-05 113/week @ 2024-08-12 35/week @ 2024-08-19 108/week @ 2024-08-26 93/week @ 2024-09-02 102/week @ 2024-09-09 98/week @ 2024-09-16 227/week @ 2024-09-23 126/week @ 2024-09-30 8/week @ 2024-10-07 97/week @ 2024-10-14 56/week @ 2024-10-21 155/week @ 2024-10-28 112/week @ 2024-11-04 6/week @ 2024-11-11

340 downloads per month
Used in 19 crates (2 directly)

GPL-3.0-only

25KB
532 lines

elrond-codec-derive

Crate that contains all macro code generation the elrond-codec serializer.

There are 4 derive macros currently provided:

  • NestedEncode
  • NestedDecode
  • TopEncode
  • TopDecode

For more info about the serialization format, see the developer reference.

Dependencies

~1.5MB
~38K SLoC