#schema #annotations #preserve

preserves

Implementation of the Preserves serialization format

66 releases (28 stable)

new 5.0.0-rc.4 Mar 24, 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

#337 in Encoding

Download history 17/week @ 2024-12-03 193/week @ 2024-12-10 12/week @ 2024-12-17 5/week @ 2024-12-31 3/week @ 2025-01-07 9/week @ 2025-01-21 4/week @ 2025-01-28 37/week @ 2025-02-04 25/week @ 2025-02-11 2/week @ 2025-02-18 7/week @ 2025-03-11 336/week @ 2025-03-18

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

Apache-2.0

300KB
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–4MB
~75K SLoC