#schema #compatibility #macro #subtype

macro superstruct

Versioned data types with minimal boilerplate

8 releases (breaking)

0.7.0 Dec 6, 2022
0.6.0 Oct 4, 2022
0.5.0 May 9, 2022
0.4.1 Jan 2, 2022
0.1.0 Apr 27, 2021

#51 in #compatibility

Download history 3117/week @ 2023-12-03 2798/week @ 2023-12-10 1800/week @ 2023-12-17 643/week @ 2023-12-24 1640/week @ 2023-12-31 3253/week @ 2024-01-07 3563/week @ 2024-01-14 3675/week @ 2024-01-21 3833/week @ 2024-01-28 4474/week @ 2024-02-04 2300/week @ 2024-02-11 3134/week @ 2024-02-18 2985/week @ 2024-02-25 3001/week @ 2024-03-03 4152/week @ 2024-03-10 2904/week @ 2024-03-17

13,245 downloads per month
Used in 2 crates

Apache-2.0

38KB
948 lines

SuperStruct

test status crates.io

SuperStruct is a library for working with a family of related struct variants, where each variant shares some common fields, and adds in unique fields of its own.

For more information please see the SuperStruct Guide.

Project Showcase

SuperStruct is used in the following projects:

License

Apache 2.0

Dependencies

~2MB
~49K SLoC