merde_core

Crates.iomerde_core
lib.rsmerde_core
version8.0.0
sourcesrc
created_at2024-09-11 18:51:12.804495
updated_at2024-11-04 14:23:03.801009
descriptionBase types for merde
homepage
repositoryhttps://github.com/bearcove/merde
max_upload_size
id1372176
size108,724
Amos Wenger (fasterthanlime)

documentation

README

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), 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.

Commit count: 221

cargo fmt