#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

#96 in #defined

Download history 111/week @ 2023-12-18 22/week @ 2023-12-25 65/week @ 2024-01-01 163/week @ 2024-01-08 141/week @ 2024-01-15 176/week @ 2024-01-22 183/week @ 2024-01-29 167/week @ 2024-02-05 168/week @ 2024-02-12 195/week @ 2024-02-19 388/week @ 2024-02-26 206/week @ 2024-03-04 310/week @ 2024-03-11 413/week @ 2024-03-18 416/week @ 2024-03-25 685/week @ 2024-04-01

1,844 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
~35K SLoC