#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

#3 in #compatibility

Download history 5536/week @ 2023-06-01 4053/week @ 2023-06-08 5034/week @ 2023-06-15 5323/week @ 2023-06-22 5269/week @ 2023-06-29 6146/week @ 2023-07-06 5614/week @ 2023-07-13 3992/week @ 2023-07-20 4651/week @ 2023-07-27 6516/week @ 2023-08-03 6292/week @ 2023-08-10 6809/week @ 2023-08-17 6006/week @ 2023-08-24 4638/week @ 2023-08-31 5311/week @ 2023-09-07 6165/week @ 2023-09-14

23,763 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
~46K SLoC