#contract #multiversx #blockchain #smart-contracts #wasm #macro-derive

macro no-std multiversx-sc-codec-derive

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

16 unstable releases (4 breaking)

0.21.0 Sep 4, 2024
0.20.1 Jul 31, 2024
0.19.0 May 10, 2024
0.18.6 Feb 2, 2024
0.17.1 Jan 18, 2023

#16 in #multiversx

Download history 780/week @ 2024-06-28 1045/week @ 2024-07-05 717/week @ 2024-07-12 510/week @ 2024-07-19 1078/week @ 2024-07-26 876/week @ 2024-08-02 786/week @ 2024-08-09 929/week @ 2024-08-16 1083/week @ 2024-08-23 1309/week @ 2024-08-30 549/week @ 2024-09-06 712/week @ 2024-09-13 706/week @ 2024-09-20 833/week @ 2024-09-27 733/week @ 2024-10-04 580/week @ 2024-10-11

2,924 downloads per month
Used in 17 crates (2 directly)

GPL-3.0-only

27KB
569 lines

Smart contract standard codec derive functionality

crates.io

Crate that contains all macro code generation the multiversx-sc-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
~42K SLoC