1 unstable release

0.1.1 Oct 23, 2022

#18 in #gpl

Download history 45044/week @ 2024-02-02 44842/week @ 2024-02-09 44418/week @ 2024-02-16 42199/week @ 2024-02-23 37714/week @ 2024-03-01 44736/week @ 2024-03-08 45751/week @ 2024-03-15 45007/week @ 2024-03-22 41608/week @ 2024-03-29 39284/week @ 2024-04-05 41592/week @ 2024-04-12 40371/week @ 2024-04-19 36802/week @ 2024-04-26 36699/week @ 2024-05-03 37857/week @ 2024-05-10 30510/week @ 2024-05-17

149,476 downloads per month
Used in 257 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
~37K SLoC