#blockchain #dharitri #contract

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

#47 in #dharitri

48 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
~49K SLoC