#contract #klever #blockchain #wasm #macro-derive

macro no-std klever-sc-codec-derive

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

1 unstable release

0.18.1 Mar 29, 2024

#11 in #klever

44 downloads per month
Used in 6 crates (via klever-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 klever-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
~36K SLoC