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

dd-manifest-tree

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

3 releases (1 stable)

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

#2764 in Parser implementations

Download history 85/week @ 2024-11-05 33/week @ 2024-11-12 17/week @ 2024-11-19 142/week @ 2024-11-26 28/week @ 2024-12-03 208/week @ 2024-12-10 20/week @ 2024-12-17 120/week @ 2024-12-24 117/week @ 2024-12-31 215/week @ 2025-01-07 28/week @ 2025-01-14 19/week @ 2025-01-21

379 downloads per month
Used in 3 crates (via device-driver-generation)

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