Expand description
Modules§
- alloytest-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 test-utils
- 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§
- CompactPlaceholder 
- 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.
- CompactZstd 
- Adds zstdcompression to derivedCompact.