#metadata #rich #serde

rich_serde

Support for rich deserialization, including metadata

1 unstable release

Uses new Rust 2024

0.1.1 Apr 15, 2025

#819 in Encoding

Download history 108/week @ 2025-04-13 12/week @ 2025-04-20

120 downloads per month

MIT license

29KB
661 lines

Rich value wrapper for Rust

The Rich wrapper type represents a value with some attached metadata. This is a fairly simple type that could be defined locally in your project. The goal of this library is to provide various helper methods to make it more convenient to manipulate such values.

An important use-case for this library is to track metadata for config values, such as the source where a value is coming from. The serde_rich crate provides integration with serde to collect deserialization information.

Dependencies

~0.3–1MB
~22K SLoC