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.