edres
===
If `serde` turns your structs into markup files,
then `edres` turns your markup files into structs.
[](https://docs.rs/edres/latest/edres/)
[](https://crates.io/crates/edres)
## Usage
If you want to use this crate in a `build.rs` file (as opposed to inside a proc macro), it needs to be added to `[build-dependencies]`.
```toml
[build-dependencies.edres]
version = "0.7"
features = ["toml"]
```
By default, `edres` is markup-language-agnostic, so include the relevant feature for whatever language your config file is written in. Choices are:
1. `json`
2. `toml`
3. `yaml`
See the [docs](https://docs.rs/edres/latest/edres/) for examples of how to use this crate.