#derive #serialization #deriving #container #ssz #macro-derive #ssz-rs

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

#14 in #ssz

Download history 29646/week @ 2024-07-23 22277/week @ 2024-07-30 30055/week @ 2024-08-06 35391/week @ 2024-08-13 25541/week @ 2024-08-20 35415/week @ 2024-08-27 37861/week @ 2024-09-03 32031/week @ 2024-09-10 31762/week @ 2024-09-17 31108/week @ 2024-09-24 34920/week @ 2024-10-01 33863/week @ 2024-10-08 37165/week @ 2024-10-15 35912/week @ 2024-10-22 31369/week @ 2024-10-29 40018/week @ 2024-11-05

152,104 downloads per month
Used in 27 crates (2 directly)

MIT/Apache

26KB
500 lines

ssz_rs_derive

A proc macro that derives the SimpleSerialize trait.


lib.rs:

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.

Dependencies

~1.5MB
~37K SLoC