24 stable releases (7 major)

new 10.0.1 Jan 29, 2025
10.0.0 Dec 4, 2024
9.0.1 Dec 2, 2024
9.0.0 Nov 30, 2024
3.0.1 Sep 12, 2024

#2131 in Encoding

Download history 89/week @ 2024-10-11 16/week @ 2024-10-18 3/week @ 2024-10-25 151/week @ 2024-11-01 28/week @ 2024-11-08 155/week @ 2024-11-15 187/week @ 2024-11-22 440/week @ 2024-11-29 98/week @ 2024-12-06 29/week @ 2024-12-13 4/week @ 2024-12-20 171/week @ 2024-12-27 20/week @ 2025-01-03 12/week @ 2025-01-10 29/week @ 2025-01-17 130/week @ 2025-01-24

193 downloads per month
Used in 6 crates (5 directly)

Apache-2.0 OR MIT

110KB
3K 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 Deserialize and IntoStatic.

Crates that provide support for formats (like merde_json), depend only on the "core" crate.

The umbrella crate merde re-exports core's types, along with a derive! macro which lets you implement Serialize, Deserialize, IntoStatic, on structs, enums, etc.

Dependencies

~0.8–4.5MB
~90K SLoC