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

new 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 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 638/week @ 2024-10-11 719/week @ 2024-10-18 450/week @ 2024-10-25 573/week @ 2024-11-01 363/week @ 2024-11-08

2,224 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