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

macro ethereum_ssz_derive

Procedural derive macros to accompany the ethereum_ssz crate

9 unstable releases (3 breaking)

1.0.0-beta.2 Dec 22, 2022
0.8.0 Sep 20, 2024
0.7.1 Aug 23, 2024
0.6.0 Aug 14, 2024
0.5.1 Jan 17, 2023

#9 in #ssz

Download history 2670/week @ 2024-07-08 7296/week @ 2024-07-15 4782/week @ 2024-07-22 3084/week @ 2024-07-29 3612/week @ 2024-08-05 3463/week @ 2024-08-12 4182/week @ 2024-08-19 4017/week @ 2024-08-26 4423/week @ 2024-09-02 5334/week @ 2024-09-09 5669/week @ 2024-09-16 5486/week @ 2024-09-23 3982/week @ 2024-09-30 4117/week @ 2024-10-07 7125/week @ 2024-10-14 10862/week @ 2024-10-21

26,360 downloads per month
Used in 14 crates (9 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