#tuple #struct #serde #proc-macro

serde-struct-tuple

Procedural macro for deserializing a struct from a tuple of its fields

1 unstable release

0.1.0 Jan 1, 2025

#891 in Encoding

Download history 162/week @ 2025-01-01

162 downloads per month
Used in 2 crates (via battler-wamp)

MIT license

3KB

serde-struct-tuple

Latest Version

serde-struct-tuple is a utility crate, built initially for battler-wamp. It provides procedural macros to automatically derive serde's Serialize and Deserialize traits for struct types that should be encoded as a tuple (list) of its fields.

Dependencies

~0.3–0.8MB
~20K SLoC