#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

#2726 in Parser implementations

Download history 106/week @ 2024-11-08 22/week @ 2024-11-15 11/week @ 2024-11-22 154/week @ 2024-11-29 152/week @ 2024-12-06 81/week @ 2024-12-13 7/week @ 2024-12-20 204/week @ 2024-12-27 194/week @ 2025-01-03 72/week @ 2025-01-10 23/week @ 2025-01-17 23/week @ 2025-01-24 136/week @ 2025-01-31 109/week @ 2025-02-07

298 downloads per month
Used in 4 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