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 Mar 16, 2022

#5 in #encodable

Download history 1629/week @ 2024-07-27 1539/week @ 2024-08-03 1778/week @ 2024-08-10 1608/week @ 2024-08-17 1559/week @ 2024-08-24 1390/week @ 2024-08-31 1388/week @ 2024-09-07 1408/week @ 2024-09-14 1593/week @ 2024-09-21 1343/week @ 2024-09-28 1315/week @ 2024-10-05 990/week @ 2024-10-12 797/week @ 2024-10-19 456/week @ 2024-10-26 574/week @ 2024-11-02 431/week @ 2024-11-09

2,438 downloads per month
Used in 16 crates (via fastrlp)

MPL-2.0 license

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