1 unstable release

0.1.0 Feb 13, 2020

#1769 in Procedural macros

Download history 44025/week @ 2023-12-06 40760/week @ 2023-12-13 31304/week @ 2023-12-20 22624/week @ 2023-12-27 37679/week @ 2024-01-03 45094/week @ 2024-01-10 49039/week @ 2024-01-17 51717/week @ 2024-01-24 61460/week @ 2024-01-31 52917/week @ 2024-02-07 52191/week @ 2024-02-14 50801/week @ 2024-02-21 44860/week @ 2024-02-28 47693/week @ 2024-03-06 52407/week @ 2024-03-13 40380/week @ 2024-03-20

193,856 downloads per month
Used in 302 crates (10 directly)

MIT/Apache

11KB
255 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

~1.5MB
~33K SLoC