2 releases

Uses new Rust 2024

new 0.1.1 Apr 15, 2025
0.1.0 Apr 6, 2025

#1444 in Procedural macros

Download history 14/week @ 2025-03-31 101/week @ 2025-04-07

115 downloads per month

MIT license

5KB
78 lines

This crate provides derove macros for rich traits.


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

~185–610KB
~14K SLoC