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

18 unstable releases (4 breaking)

new 0.21.2 Jan 8, 2025
0.21.1 Nov 15, 2024
0.21.0 Sep 4, 2024
0.20.1 Jul 31, 2024
0.17.1 Jan 18, 2023

#21 in #multiversx

Download history 735/week @ 2024-09-25 874/week @ 2024-10-02 625/week @ 2024-10-09 663/week @ 2024-10-16 642/week @ 2024-10-23 508/week @ 2024-10-30 390/week @ 2024-11-06 689/week @ 2024-11-13 674/week @ 2024-11-20 647/week @ 2024-11-27 508/week @ 2024-12-04 1016/week @ 2024-12-11 402/week @ 2024-12-18 123/week @ 2024-12-25 338/week @ 2025-01-01 979/week @ 2025-01-08

1,981 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
~46K SLoC