#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 4/week @ 2024-02-02 11/week @ 2024-02-09 27/week @ 2024-02-16 27/week @ 2024-02-23 24/week @ 2024-03-01 28/week @ 2024-03-08 27/week @ 2024-03-15 27/week @ 2024-03-22 61/week @ 2024-03-29 28/week @ 2024-04-05 20/week @ 2024-04-12 21/week @ 2024-04-19 24/week @ 2024-04-26 25/week @ 2024-05-03 23/week @ 2024-05-10 10/week @ 2024-05-17

84 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