#ethereum #macro-derive #procedural #ssz #field #encode #decode

macro ethereum_ssz_derive

Procedural derive macros to accompany the ethereum_ssz crate

10 unstable releases (3 breaking)

1.0.0-beta.2 Dec 22, 2022
0.8.1 Dec 5, 2024
0.8.0 Sep 20, 2024
0.5.4 May 31, 2024
0.5.2 Mar 13, 2023

#9 in #ssz

Download history 3783/week @ 2024-08-15 4260/week @ 2024-08-22 3820/week @ 2024-08-29 5263/week @ 2024-09-05 5430/week @ 2024-09-12 6117/week @ 2024-09-19 4187/week @ 2024-09-26 3996/week @ 2024-10-03 4834/week @ 2024-10-10 10487/week @ 2024-10-17 11386/week @ 2024-10-24 8919/week @ 2024-10-31 7881/week @ 2024-11-07 8152/week @ 2024-11-14 9655/week @ 2024-11-21 9443/week @ 2024-11-28

36,575 downloads per month
Used in 16 crates (10 directly)

Apache-2.0

24KB
487 lines

ethereum_ssz

SimpleSerialize (SSZ) implementation optimised for speed and security.

Maintained by Sigma Prime for use in Lighthouse, with an eye to being useful in the Rust Ethereum ecosystem more broadly. We welcome new contributors!

Please see the docs for more information.


lib.rs:

Provides procedural derive macros for the Encode and Decode traits of the eth2_ssz crate.

Supports field attributes, see each derive macro for more information.

Dependencies

~2MB
~44K SLoC