#ssz #derive #ssz-rs-derive

macro ssz_rs_derive

utility crate for deriving simple serialize implementations

8 releases (breaking)

0.9.0 Jul 8, 2023
0.8.0 Apr 11, 2023
0.7.0 Nov 5, 2021
0.6.0 Nov 5, 2021
0.1.0 Oct 28, 2021

#13 in #ssz

Download history 23617/week @ 2024-12-17 8807/week @ 2024-12-24 17558/week @ 2024-12-31 27838/week @ 2025-01-07 41545/week @ 2025-01-14 33827/week @ 2025-01-21 30177/week @ 2025-01-28 34436/week @ 2025-02-04 39124/week @ 2025-02-11 34949/week @ 2025-02-18 31794/week @ 2025-02-25 33428/week @ 2025-03-04 32312/week @ 2025-03-11 30036/week @ 2025-03-18 38706/week @ 2025-03-25 28428/week @ 2025-04-01

136,718 downloads per month
Used in 40 crates (2 directly)

MIT/Apache

26KB
500 lines

SimpleSerialize provides a macro to derive SSZ containers and union types from native Rust structs and enums. Refer to the examples in the ssz_rs crate for a better idea on how to use this derive macro.


ssz_rs_derive

A proc macro that derives the SimpleSerialize trait.

Dependencies

~1.5MB
~38K SLoC