#contract #dharithri #blockchain #wasm #macro-derive

macro no-std dharithri-sc-codec-derive

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

1 unstable release

0.18.1 Sep 14, 2023

#16 in #dharithri

50 downloads per month
Used in 9 crates (via dharithri-sc-codec)

GPL-3.0-only

24KB
532 lines

Smart contract standard codec derive functionality

crates.io

Crate that contains all macro code generation the dharithri-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

~1.5MB
~36K SLoC