2 unstable releases
0.2.0 | Sep 11, 2024 |
---|---|
0.1.0 | Feb 13, 2020 |
#1639 in Procedural macros
198,025 downloads per month
Used in 381 crates
(10 directly)
11KB
262 lines
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