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

macro no-std multiversx-sc-codec-derive

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

19 unstable releases (5 breaking)

new 0.22.0 Mar 11, 2025
0.21.1 Nov 15, 2024
0.20.1 Jul 31, 2024
0.18.6 Feb 2, 2024
0.17.1 Jan 18, 2023

#21 in #multiversx

Download history 720/week @ 2024-11-18 647/week @ 2024-11-25 481/week @ 2024-12-02 952/week @ 2024-12-09 586/week @ 2024-12-16 210/week @ 2024-12-23 208/week @ 2024-12-30 1044/week @ 2025-01-06 815/week @ 2025-01-13 865/week @ 2025-01-20 801/week @ 2025-01-27 774/week @ 2025-02-03 679/week @ 2025-02-10 711/week @ 2025-02-17 1079/week @ 2025-02-24 639/week @ 2025-03-03

3,183 downloads per month
Used in 22 crates (2 directly)

GPL-3.0-only

30KB
644 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

~225–660KB
~16K SLoC