Crates.io | alloy-rlp-derive |
lib.rs | alloy-rlp-derive |
version | 0.3.7 |
source | src |
created_at | 2023-06-13 02:30:01.352349 |
updated_at | 2024-06-28 23:42:51.614582 |
description | Derive macros for alloy-rlp |
homepage | https://github.com/alloy-rs/rlp/tree/main/crates/rlp-derive |
repository | https://github.com/alloy-rs/rlp |
max_upload_size | |
id | 888614 |
size | 18,921 |
This crate provides derive macros for traits defined in
alloy-rlp
. See that crate's documentation for
more information.
This library also supports up to 1 #[rlp(default)]
in a struct, which is
similar to #[serde(default)]
with the caveat that we use the Default
value if the field deserialization
fails, as we don't serialize field names and there is no way to tell if it is
present or not.