#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

#665 in Procedural macros

Download history 127/week @ 2022-08-03 208/week @ 2022-08-10 160/week @ 2022-08-17 105/week @ 2022-08-24 115/week @ 2022-08-31 150/week @ 2022-09-07 254/week @ 2022-09-14 168/week @ 2022-09-21 123/week @ 2022-09-28 154/week @ 2022-10-05 46/week @ 2022-10-12 91/week @ 2022-10-19 126/week @ 2022-10-26 149/week @ 2022-11-02 112/week @ 2022-11-09 132/week @ 2022-11-16

530 downloads per month
Used in 24 crates (23 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

~0.6–5.5MB
~95K SLoC