✓ Uses Rust 2018 edition
|0.1.1||Dec 26, 2018|
|0.1.0||Dec 26, 2018|
#67 in Configuration
6 downloads per month
A helper to add the
--dump-config options to a
spirit-based application. Some more useful
helpers around configuration too.
See the docs.
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Spirit configuration helpers
These helpers are meant to integrate into the spirit configuration framework. They aim at making the user experience around application's configuration more smooth for the user. Specifically, they allow dumping the configuration collected through all the config files and environment variables and printing help about all the configuration options the application accepts.
By default, all features are turned on. However, it is possible to opt out of some to cut down on dependencies. Specifically:
jsonfeatures enable dumping in the respective formats.
cfg-helpenables the printing of configuration help.