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

macro no-std dharitri-sc-codec-derive

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

2 stable releases

1.0.1 Jan 19, 2025
0.5.1 Feb 26, 2024
0.4.9 Feb 23, 2024
0.2.0 Jan 17, 2024
0.0.2 Oct 30, 2023

#52 in #dharitri

Download history 7/week @ 2024-11-17 16/week @ 2024-11-24 8/week @ 2024-12-01 24/week @ 2024-12-08 5/week @ 2024-12-15 1/week @ 2025-01-05 1/week @ 2025-01-12 264/week @ 2025-01-19 12/week @ 2025-01-26 34/week @ 2025-02-02 22/week @ 2025-02-09 42/week @ 2025-02-16 12/week @ 2025-02-23 9/week @ 2025-03-02

87 downloads per month
Used in 17 crates (via dharitri-sc-codec)

GPL-3.0-only

27KB
569 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

~2MB
~48K SLoC