#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)]

17 unstable releases (4 breaking)

0.21.1 Nov 15, 2024
0.20.1 Jul 31, 2024
0.18.6 Feb 2, 2024
0.18.3 Dec 18, 2023
0.17.1 Jan 18, 2023

#20 in #multiversx

Download history 998/week @ 2024-08-20 1225/week @ 2024-08-27 916/week @ 2024-09-03 629/week @ 2024-09-10 649/week @ 2024-09-17 719/week @ 2024-09-24 938/week @ 2024-10-01 616/week @ 2024-10-08 612/week @ 2024-10-15 743/week @ 2024-10-22 446/week @ 2024-10-29 455/week @ 2024-11-05 647/week @ 2024-11-12 666/week @ 2024-11-19 684/week @ 2024-11-26 414/week @ 2024-12-03

2,454 downloads per month
Used in 22 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

~2MB
~43K SLoC