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

macro no-std dharitri-sc-codec-derive

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

16 unstable releases (3 breaking)

0.5.1 Feb 26, 2024
0.5.0 Feb 26, 2024
0.4.9 Feb 23, 2024
0.2.0 Jan 17, 2024
0.0.2 Oct 30, 2023

#33 in #dharitri

Download history 43/week @ 2024-01-07 64/week @ 2024-01-14 4/week @ 2024-01-21 287/week @ 2024-02-11 969/week @ 2024-02-18 467/week @ 2024-02-25 38/week @ 2024-03-03 25/week @ 2024-03-10 31/week @ 2024-03-17 69/week @ 2024-03-31 5/week @ 2024-04-07 7/week @ 2024-04-14 10/week @ 2024-04-21

91 downloads per month
Used in 9 crates (via dharitri-sc-codec)

GPL-3.0-only

25KB
532 lines

Smart contract standard codec derive functionality

crates.io

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