1 unstable release

0.1.0 Feb 13, 2020

#1906 in Procedural macros

Download history 40108/week @ 2024-01-05 47310/week @ 2024-01-12 50510/week @ 2024-01-19 61158/week @ 2024-01-26 52304/week @ 2024-02-02 52623/week @ 2024-02-09 52098/week @ 2024-02-16 48740/week @ 2024-02-23 44127/week @ 2024-03-01 50432/week @ 2024-03-08 51844/week @ 2024-03-15 50943/week @ 2024-03-22 47934/week @ 2024-03-29 47098/week @ 2024-04-05 49639/week @ 2024-04-12 39246/week @ 2024-04-19

193,821 downloads per month
Used in 316 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