4 releases (2 breaking)
Uses new Rust 2024
| new 0.8.0 | May 3, 2026 |
|---|---|
| 0.7.2 | Oct 30, 2025 |
| 0.7.1 | Feb 25, 2025 |
| 0.7.0 |
|
| 0.6.0 | Oct 20, 2022 |
#2244 in Procedural macros
Used in 3 crates
(via edres)
105KB
2.5K
SLoC
edres
If serde turns your structs into markup files,
then edres turns your markup files into structs.
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].
[build-dependencies.edres]
version = "0.8"
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:
jsontomlyaml
See the docs for examples of how to use this crate.
Dependencies
~5–9MB
~161K SLoC