#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

#15 in #dharithri

Download history 10/week @ 2024-01-08 8/week @ 2024-01-15 6/week @ 2024-02-05 19/week @ 2024-02-12 22/week @ 2024-02-19 39/week @ 2024-02-26 19/week @ 2024-03-04 26/week @ 2024-03-11 24/week @ 2024-03-18 38/week @ 2024-03-25 64/week @ 2024-04-01 17/week @ 2024-04-08 19/week @ 2024-04-15

139 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
~34K SLoC