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

macro no-std drt-sc-codec-derive

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

2 releases

0.20.1 Sep 2, 2024
0.0.3 Sep 2, 2024
0.0.1 Aug 27, 2024

#40 in #dharitri

Download history 144/week @ 2024-08-26 321/week @ 2024-09-02 13/week @ 2024-09-09 77/week @ 2024-09-16 49/week @ 2024-09-23 18/week @ 2024-09-30 9/week @ 2024-10-07 23/week @ 2024-10-14 10/week @ 2024-10-21 9/week @ 2024-10-28 30/week @ 2024-11-04 20/week @ 2024-11-18 23/week @ 2024-11-25 23/week @ 2024-12-02 43/week @ 2024-12-09

109 downloads per month
Used in 10 crates (via drt-sc-codec)

GPL-3.0-only

27KB
569 lines

Smart contract standard codec derive functionality

crates.io

Crate that contains all macro code generation the drt-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
~44K SLoC