#traits #defined #serialization #macro #format #concordium-base

macro concordium_base_derive

A library that implements derive macros for traits defined in concordium_base

1 stable release

1.0.0 Mar 20, 2023

#94 in #defined

Download history 159/week @ 2024-07-22 152/week @ 2024-07-29 345/week @ 2024-08-05 157/week @ 2024-08-12 59/week @ 2024-08-19 123/week @ 2024-08-26 150/week @ 2024-09-02 187/week @ 2024-09-09 200/week @ 2024-09-16 137/week @ 2024-09-23 130/week @ 2024-09-30 62/week @ 2024-10-07 96/week @ 2024-10-14 48/week @ 2024-10-21 84/week @ 2024-10-28 122/week @ 2024-11-04

352 downloads per month
Used in 4 crates (via concordium_base)

Custom license

20KB
331 lines

concordium_base_derive

A procedural macro library for deriving serialization traits defined in concordium_base. The macros are re-exported through concordium_base and this library should not be used as a direct dependency.


lib.rs:

Derive macros for deriving serialization in the Concordium binary format. This crate is intended to be used together with the concordium_base crate and should not be imported directly.

The derivation macros will only work in a context where concordium_base is available as a module.

Dependencies

~1.5MB
~36K SLoC