11 stable releases

new 5.0.5 Sep 17, 2024
5.0.1 Sep 16, 2024
4.0.2 Sep 14, 2024
3.0.1 Sep 12, 2024

#1896 in Encoding

Download history 1025/week @ 2024-09-11

1,029 downloads per month
Used in 3 crates

Apache-2.0 OR MIT

66KB
2K SLoC

license: MIT/Apache-2.0 crates.io docs.rs

merde_core

The merde logo: a glorious poop floating above a pair of hands

Logo by MisiasArt

The merde family of crates aims to provide a lighter, simpler, and build-time-friendly alternative to serde.

This "core" crate provides core types like Value, Array, Map, and CowStr<'s> (a copy-on-write string type that also leverages compact_str's small string optimization), and traits like ValueDeserialize and IntoStatic.

Crates that provide support for formats (like merde_json), and crates that provide wrappers around other crates' types, to allow serializing/deserializing them (like merde_time), depend only on the "core" crate.

The umbrella crate merde re-exports core's types, along with a derive! macro which lets you implement ValueDeserialize, IntoStatic, and format-specific traits like JsonSerialize on structs, with or without lifetime parameters.

Dependencies

~0–3.5MB
~70K SLoC