#tuple #struct #serde #proc-macro

macro serde-struct-tuple-proc-macro

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

2 releases

0.1.1 Jan 19, 2025
0.1.0 Jan 1, 2025

#2090 in Procedural macros

Download history 135/week @ 2024-12-28 45/week @ 2025-01-04 20/week @ 2025-01-11 152/week @ 2025-01-18 8/week @ 2025-01-25

234 downloads per month
Used in 8 crates (via serde-struct-tuple)

MIT license

10KB
212 lines

serde-struct-tuple-proc-macro

Latest Version

serde-struct-tuple-proc-macro is a utility crate for serde-struct-tuple. 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
~19K SLoC