2 releases
0.1.1 | Sep 27, 2024 |
---|---|
0.1.0 | Jun 26, 2024 |
#457 in Encoding
113 downloads per month
Used in 18 crates
(16 directly)
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