1 unstable release

0.1.0 Jun 26, 2024

#767 in Parser implementations

Download history 67/week @ 2024-06-20 86/week @ 2024-06-27 4/week @ 2024-07-04 19/week @ 2024-07-11 13/week @ 2024-07-18 11/week @ 2024-08-08 25/week @ 2024-08-15 31/week @ 2024-08-22 54/week @ 2024-08-29

121 downloads per month
Used in 16 crates (14 directly)

Apache-2.0

470KB
11K SLoC

SwimOS serialization

This crate contains the Form trait that describes how a type can be transformed to and from the SwimOS serialization model (described in swimos_model). This trait is implemented for most common primitive types and common standard library collections such as [Vec] and std::collections::HashMap.

A derivation macro is provided that can automatically generate implementations for straightforward struct and enum types. For instructions on how to use this, see the Form trait or the SwimOS documentation.

Dependencies

~8–15MB
~178K SLoC