#canon #serialisation #no-std #ffi #database

macro no-std canonical_derive

The automatic derivation of Canon for structs, and enums

9 releases (breaking)

0.7.0 Feb 23, 2022
0.6.3 Jun 3, 2021
0.6.2 May 25, 2021
0.6.0 Mar 30, 2021
0.4.1 Nov 6, 2020

#1851 in Procedural macros

Download history 85/week @ 2022-12-02 165/week @ 2022-12-09 63/week @ 2022-12-16 113/week @ 2022-12-23 88/week @ 2022-12-30 106/week @ 2023-01-06 72/week @ 2023-01-13 175/week @ 2023-01-20 90/week @ 2023-01-27 130/week @ 2023-02-03 43/week @ 2023-02-10 152/week @ 2023-02-17 239/week @ 2023-02-24 100/week @ 2023-03-03 30/week @ 2023-03-10 72/week @ 2023-03-17

460 downloads per month
Used in 25 crates (24 directly)

MPL-2.0 license

38KB
874 lines

Canonical derive

Derive Canon impls for datastructures.

Examples tbd.


lib.rs:

Derives for Canon trait for rust types

Dependencies

~1–5MB
~88K SLoC