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

10 releases

0.18.6 Feb 2, 2024
0.18.5 Jan 29, 2024
0.18.3 Dec 18, 2023
0.18.2 Nov 24, 2023
0.17.1 Jan 18, 2023

#16 in #multiversx

Download history 484/week @ 2024-01-06 521/week @ 2024-01-13 512/week @ 2024-01-20 561/week @ 2024-01-27 498/week @ 2024-02-03 663/week @ 2024-02-10 538/week @ 2024-02-17 514/week @ 2024-02-24 654/week @ 2024-03-02 785/week @ 2024-03-09 935/week @ 2024-03-16 652/week @ 2024-03-23 660/week @ 2024-03-30 792/week @ 2024-04-06 552/week @ 2024-04-13 646/week @ 2024-04-20

2,715 downloads per month
Used in 15 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
~42K SLoC