#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

#2306 in Procedural macros

Download history 67/week @ 2023-10-23 81/week @ 2023-10-30 109/week @ 2023-11-06 50/week @ 2023-11-13 81/week @ 2023-11-20 113/week @ 2023-11-27 33/week @ 2023-12-04 68/week @ 2023-12-11 60/week @ 2023-12-18 76/week @ 2023-12-25 38/week @ 2024-01-01 63/week @ 2024-01-08 54/week @ 2024-01-15 80/week @ 2024-01-22 76/week @ 2024-01-29 64/week @ 2024-02-05

288 downloads per month
Used in 16 crates

MPL-2.0 license

39KB
874 lines

Canonical derive

Derive Canon impls for datastructures.

Examples tbd.


lib.rs:

Derives for Canon trait for rust types

Dependencies

~1.5–7.5MB
~44K SLoC