#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

Download history 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 23/week @ 2024-04-22 18/week @ 2024-04-29 31/week @ 2024-05-06 20/week @ 2024-05-13 23/week @ 2024-05-20 13/week @ 2024-05-27

87 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
~35K SLoC