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

macro ethereum_ssz_derive

Procedural derive macros to accompany the ethereum_ssz crate

6 releases ()

1.0.0-beta.2 Dec 22, 2022
0.5.3 Jun 14, 2023
0.5.2 Mar 13, 2023
0.5.1 Jan 17, 2023
0.5.0 Jan 16, 2023

#13 in #ssz

Download history 1066/week @ 2023-12-23 1731/week @ 2023-12-30 2848/week @ 2024-01-06 3176/week @ 2024-01-13 3906/week @ 2024-01-20 4421/week @ 2024-01-27 4614/week @ 2024-02-03 2878/week @ 2024-02-10 3910/week @ 2024-02-17 4192/week @ 2024-02-24 4262/week @ 2024-03-02 5999/week @ 2024-03-09 4710/week @ 2024-03-16 4983/week @ 2024-03-23 4045/week @ 2024-03-30 4255/week @ 2024-04-06

18,814 downloads per month
Used in 2 crates

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

~1.5MB
~40K SLoC