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

dd-manifest-tree

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

2 releases

1.0.0-rc.1 Nov 29, 2024
1.0.0-rc.0 Nov 10, 2024

#2717 in Parser implementations

Download history 112/week @ 2024-11-09 17/week @ 2024-11-16 93/week @ 2024-11-23 73/week @ 2024-11-30 153/week @ 2024-12-07

342 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.7MB
~31K SLoC