ezconf
A library to add configuration options to your project with as little
boilerplate as possible. Uses toml
as the configuration format.
All macros will cache the value for fast access times (Although, if it is really time critical, you should save it to a variable yourself)
Important: Due to the way this crate was implemented, it is necessary
to import the lazy_static
macro in your project
Example
extern crate lazy_static;
extern crate ezconf;
ezconf_file!;
License
ezconf is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.