2 unstable releases

0.2.0 Sep 11, 2024
0.1.0 Feb 13, 2020

#1525 in Procedural macros

Download history 44701/week @ 2024-07-29 47637/week @ 2024-08-05 50987/week @ 2024-08-12 50401/week @ 2024-08-19 48730/week @ 2024-08-26 49531/week @ 2024-09-02 52288/week @ 2024-09-09 50247/week @ 2024-09-16 50095/week @ 2024-09-23 56843/week @ 2024-09-30 59852/week @ 2024-10-07 55276/week @ 2024-10-14 54024/week @ 2024-10-21 50966/week @ 2024-10-28 44946/week @ 2024-11-04 46324/week @ 2024-11-11

198,701 downloads per month
Used in 375 crates (10 directly)

MIT/Apache

11KB
262 lines

Continuous integration

parity-common

Collection of crates used in Parity Technologies projects


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

~230–670KB
~16K SLoC