64 releases (28 stable)

new 5.0.0-rc.2 Mar 21, 2025
4.996.0 Sep 26, 2024
4.995.3 May 24, 2024
4.995.1 Mar 28, 2024
0.3.1 Oct 23, 2019

#599 in Encoding

Download history 23/week @ 2024-11-28 35/week @ 2024-12-05 176/week @ 2024-12-12 7/week @ 2024-12-19 5/week @ 2024-12-26 3/week @ 2025-01-09 3/week @ 2025-01-16 7/week @ 2025-01-23 5/week @ 2025-01-30 39/week @ 2025-02-06 22/week @ 2025-02-13 1/week @ 2025-02-20 74/week @ 2025-03-13

75 downloads per month
Used in 9 crates (7 directly)

Apache-2.0

295KB
7.5K SLoC

cargo add preserves

This crate (preserves on crates.io) implements Preserves for Rust. It provides the core semantics as well as both the human-readable text syntax (a superset of JSON) and machine-oriented binary format (including canonicalization) for Preserves.

This crate is the foundation for others such as

It also includes Serde support (modules [de], [ser], [symbol], [set]).

Dependencies

~3–4.5MB
~75K SLoC