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

macro no-std dharitri-codec-derive

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

43 releases (4 breaking)

0.4.1 Feb 15, 2024
0.4.0 Feb 15, 2024
0.3.9 Feb 14, 2024
0.2.9 Feb 7, 2024
0.0.9 Jan 23, 2024

#41 in #dharitri

23 downloads per month
Used in 13 crates (via dharitri-codec)

GPL-3.0-only

25KB
532 lines

dharitri-codec-derive

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