YAML is a human-readable and human writable file format often used for configuration. I maintain several project where people collect data into thousands of YAML files and the some program collects the data and generats a web site.
This is a collection of articles on dealing with YAML in the Rust programming language.
- Read arbitrary YAML files in Rust without the need to know the whole structure of the file.
serde
,serde_yaml
- Read a simple, flat YAML file into a struct
struct
,Deserialize
- Set default values while deserializing YAML
default
- Deserializing YAML - deny unknown fields
deny_unknown_fields