Expand description
Modules§
- alloy
test-utils - Implements Compact for alloy types.
- test_
utils test-utils - Test utilities for
Compactderive macro - txtype
- Commonly used constants for transaction types.
Macros§
- generate_
tests - Generates tests for given type based on passed parameters.
- impl_
compact_ for_ wrapped_ bytes - Implements the
Compacttrait for wrappers over fixed size byte array types. - validate_
bitflag_ backwards_ compat - Macro to ensure that derived
Compacttypes can be extended with new fields while maintaining backwards compatibility.
Traits§
- Compact
- Trait that implements the
Compactcodec.
Type Aliases§
- Compact
Placeholder - To be used with
Option<CompactPlaceholder>to place or replace one bit on the bitflag struct.
Attribute Macros§
- add_
arbitrary_ tests - Generates tests for given type.
Derive Macros§
- Compact
- Derives the
Compacttrait for custom structs, optimizing serialization with a possible bitflag struct. - Compact
Zstd - Adds
zstdcompression to derivedCompact.