#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

#30 in #dharitri

Download history 1/week @ 2024-05-15 3/week @ 2024-05-22 5/week @ 2024-05-29 9/week @ 2024-06-05 2/week @ 2024-06-12 96/week @ 2024-07-24

96 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
~36K SLoC