#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

#111 in #defined

Download history 134/week @ 2024-11-16 106/week @ 2024-11-23 89/week @ 2024-11-30 83/week @ 2024-12-07 120/week @ 2024-12-14 16/week @ 2024-12-21 22/week @ 2024-12-28 77/week @ 2025-01-04 179/week @ 2025-01-11 100/week @ 2025-01-18 39/week @ 2025-01-25 69/week @ 2025-02-01 69/week @ 2025-02-08 54/week @ 2025-02-15 113/week @ 2025-02-22 71/week @ 2025-03-01

323 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
~38K SLoC