Expand description
Modules§
- alloy
test-utils
- Implements Compact for alloy types.
- test_
utils test-utils
- Test utilities for
Compact
derive 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
Compact
trait for wrappers over fixed size byte array types. - validate_
bitflag_ backwards_ compat test-utils
- Macro to ensure that derived
Compact
types can be extended with new fields while maintaining backwards compatibility.
Traits§
- Compact
- Trait that implements the
Compact
codec.
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
Compact
trait for custom structs, optimizing serialization with a possible bitflag struct. - Compact
Zstd - Adds
zstd
compression to derivedCompact
.