#value #toml #yaml #json-toml #json

dd-manifest-tree

Crate to unify the 'Value' tree types of json, yaml and toml

1 release (0 unstable)

1.0.0-rc.0 Nov 10, 2024

#2807 in Parser implementations

Download history 55/week @ 2024-11-04 62/week @ 2024-11-11 17/week @ 2024-11-18

134 downloads per month

MIT/Apache

15KB
319 lines

dd-manifest-tree

crates.io Documentation

Part of the device-driver toolkit.

Provides a common way of dealing with parsed json, yaml and toml. This is born from the observation that the crates serde_json, yaml-rust2 and toml all have a Value type that is modeled in roughly the same way. This crate aims to provide a way of deserializing the various formats and providing a common Value interface to them.

The main goal is supporting the work of the device-driver toolkit. However, if this crate is open to receive extra features useful for others as long as they don't get in the way its main purpose.

Dependencies

~1–1.8MB
~32K SLoC