#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

#2245 in Procedural macros

Download history 159/week @ 2024-12-31 30/week @ 2025-01-07 132/week @ 2025-01-14 39/week @ 2025-01-21 13/week @ 2025-02-04

185 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.9MB
~20K SLoC