#json-toml #value #toml

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

#2233 in Parser implementations

Download history 168/week @ 2024-12-11 12/week @ 2024-12-18 120/week @ 2024-12-25 133/week @ 2025-01-01 206/week @ 2025-01-08 27/week @ 2025-01-15 16/week @ 2025-01-22 106/week @ 2025-01-29 101/week @ 2025-02-05 128/week @ 2025-02-12 96/week @ 2025-02-19 276/week @ 2025-02-26 445/week @ 2025-03-05 125/week @ 2025-03-12 121/week @ 2025-03-19 1694/week @ 2025-03-26

2,412 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