#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

50 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