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

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 222/week @ 2023-12-13 296/week @ 2023-12-20 285/week @ 2023-12-27 175/week @ 2024-01-03 80/week @ 2024-01-10 40/week @ 2024-01-17 27/week @ 2024-01-24 23/week @ 2024-01-31 32/week @ 2024-02-07 81/week @ 2024-02-14 159/week @ 2024-02-21 142/week @ 2024-02-28 118/week @ 2024-03-06 160/week @ 2024-03-13 148/week @ 2024-03-20 156/week @ 2024-03-27

595 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
~34K SLoC