5 releases
0.2.0 | Apr 17, 2023 |
---|---|
0.1.5 | Feb 4, 2023 |
0.1.4 | Nov 5, 2022 |
0.1.3 | Oct 10, 2022 |
0.1.0 |
|
#5 in #encodable
2,438 downloads per month
Used in 16 crates
(via fastrlp)
11KB
259 lines
fastrlp
Very fast and well-tested RLP serialization library for Rust.
License
The entire code within this repository is licensed under the Mozilla Public License v2.0
lib.rs
:
Derive macro for #[derive(Encodable, Decodable)]
.
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
~0.4–0.9MB
~19K SLoC