Crate reth_codecs_derive

Source
Expand description

Derive macros for the Compact codec traits.

Macros§

generate_tests
Generates tests for given type based on passed parameters.

Attribute Macros§

add_arbitrary_tests
Generates tests for given type.

Derive Macros§

Compact
Derives the Compact trait for custom structs, optimizing serialization with a possible bitflag struct.
CompactZstd
Adds zstd compression to derived Compact.