Skip to content
/ edres Public

If serde turns your structs into markup files, then edres turns your markup files into structs.

License

Notifications You must be signed in to change notification settings

mistodon/edres

Repository files navigation

edres

If serde turns your structs into markup files,

then edres turns your markup files into structs.

CI Docs.rs Crates.io codecov

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.6"
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 for examples of how to use this crate.

About

If serde turns your structs into markup files, then edres turns your markup files into structs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published