| Crates.io | edres |
| lib.rs | edres |
| version | 0.7.1 |
| created_at | 2020-12-01 13:14:53.072007+00 |
| updated_at | 2025-02-25 21:50:52.304892+00 |
| description | Generate struct and enum definitions from data files. |
| homepage | https://github.com/mistodon/edres |
| repository | https://github.com/mistodon/edres |
| max_upload_size | |
| id | 318569 |
| size | 29,432 |
If serde turns your structs into markup files,
then edres turns your markup files into structs.
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].
[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:
jsontomlyamlSee the docs for examples of how to use this crate.