#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 3268/week @ 2024-07-30 3433/week @ 2024-08-06 3476/week @ 2024-08-13 4356/week @ 2024-08-20 3850/week @ 2024-08-27 5084/week @ 2024-09-03 4821/week @ 2024-09-10 6243/week @ 2024-09-17 4758/week @ 2024-09-24 4120/week @ 2024-10-01 4286/week @ 2024-10-08 8308/week @ 2024-10-15 11546/week @ 2024-10-22 10216/week @ 2024-10-29 8091/week @ 2024-11-05 6201/week @ 2024-11-12

38,121 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