Introduction

more-config is a crate containing all of the fundamental abstractions for configuration in Rust.

Features

This crate provides the following features:

  • default - Abstractions for configuration, including the std features
  • std - Standard configuration implementation
  • all - Includes all features, except async
  • async - Use configuration in an asynchronous context
  • mem - An in-memory configuration source
  • env - An environment variables configuration source
  • cmd - A command-line argument configuration source
  • json - A *.json file configuration source
  • xml - A *.xml file configuration source
  • ini - An *.ini file configuration source
  • chained - Chain multiple configuration sources
  • binder - Bind a configuration to strongly-typed values and structs

Use --features all,async for all features with asynchronous support

Contributing

more-config is free and open source. You can find the source code on GitHub and issues and feature requests can be posted on the GitHub issue tracker. more-config relies on the community to fix bugs and add features: if you'd like to contribute, please read the CONTRIBUTING guide and consider opening a pull request.

License

This project is licensed under the MIT license.