2 unstable releases

0.2.0 Sep 11, 2024
0.1.0 Feb 13, 2020

#1639 in Procedural macros

Download history 51016/week @ 2024-08-17 48045/week @ 2024-08-24 49302/week @ 2024-08-31 52134/week @ 2024-09-07 50972/week @ 2024-09-14 50209/week @ 2024-09-21 55185/week @ 2024-09-28 61652/week @ 2024-10-05 55627/week @ 2024-10-12 54415/week @ 2024-10-19 50872/week @ 2024-10-26 45783/week @ 2024-11-02 45754/week @ 2024-11-09 49923/week @ 2024-11-16 45826/week @ 2024-11-23 48544/week @ 2024-11-30

198,025 downloads per month
Used in 381 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

~215–660KB
~16K SLoC