#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 27677/week @ 2024-05-22 27223/week @ 2024-05-29 19272/week @ 2024-06-05 21099/week @ 2024-06-12 19473/week @ 2024-06-19 21106/week @ 2024-06-26 23306/week @ 2024-07-03 21000/week @ 2024-07-10 29521/week @ 2024-07-17 29593/week @ 2024-07-24 20416/week @ 2024-07-31 33951/week @ 2024-08-07 32344/week @ 2024-08-14 26666/week @ 2024-08-21 37142/week @ 2024-08-28 30205/week @ 2024-09-04

134,239 downloads per month
Used in 19 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
~36K SLoC