#rest

compatible-with

Backward compatibility with older data using serde's untagged enums

2 releases

0.1.1 Jul 19, 2023
0.1.0 Jul 19, 2023

#200 in #rest

MIT license

9KB
219 lines

Compatible

Compatibility Layer for older data using serde
You just need to provide a Current: From<Old> implementation
And the rest is handled automatically
Keep in mind that this uses untagged enums so it comes with performance cost

Dependencies

~0.4–1MB
~22K SLoC