1 unstable release

0.1.1 Oct 23, 2022

#16 in #gpl

Download history 37493/week @ 2024-07-28 39217/week @ 2024-08-04 41726/week @ 2024-08-11 40512/week @ 2024-08-18 38271/week @ 2024-08-25 39656/week @ 2024-09-01 39660/week @ 2024-09-08 37535/week @ 2024-09-15 36759/week @ 2024-09-22 41426/week @ 2024-09-29 46820/week @ 2024-10-06 41787/week @ 2024-10-13 41057/week @ 2024-10-20 38123/week @ 2024-10-27 32257/week @ 2024-11-03 33065/week @ 2024-11-10

146,258 downloads per month
Used in 300 crates (via open-fastrlp)

Apache-2.0

11KB
243 lines

RLP derive crate

forked from erlier Apache licenced fastrlp-derive crate, before it changed licence to GPL.


lib.rs:

Derive macro for #[derive(RlpEncodable, RlpDecodable)].

For example of usage see ./tests/rlp.rs.

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.

Dependencies

~1.5MB
~40K SLoC