Expand description
Make loading configuration more ergonomic, therefore fun!
This is the configuration loading libray as part of the ergo crate ecosystem.
This library should rarely be used on its own. Refer to the
ergocrate ecosystem for how to use its exported features. For one thing it depends onserdeto actually be used in most cases.
§Special thanks
The crates that are exported are:
- configure: pull in configuration from the environment.
- ron: Rusty Object Notation.
- serde_json: Strongly typed JSON library for Rust.
- serde_yaml: Strongly typed YAML library for Rust.
- toml: A TOML encoding/decoding library for Rust.
Consider supporting their development individually and starring them on github.
Re-exports§
pub extern crate configure;pub extern crate serde_json as json;pub extern crate toml;pub extern crate serde_yaml as yaml;
Modules§
- source
- Controlling the source of configuration.
Macros§
Structs§
- Deserialize
Error - Error when a
SerializerorDeserializertrait object fails.
Traits§
- Configure
- A configuration struct which can be generated from the environment.