2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#457 in Encoding

Download history 25/week @ 2024-08-18 49/week @ 2024-08-25 48/week @ 2024-09-01 27/week @ 2024-09-08 47/week @ 2024-09-15 184/week @ 2024-09-22 115/week @ 2024-09-29 14/week @ 2024-10-06 24/week @ 2024-10-13 26/week @ 2024-10-20 33/week @ 2024-10-27 24/week @ 2024-11-03 3/week @ 2024-11-10 22/week @ 2024-11-17 44/week @ 2024-11-24 42/week @ 2024-12-01

113 downloads per month
Used in 18 crates (16 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–14MB
~174K SLoC