config-rs is a modern configuration system for Rust applications.
The general idea is to create a configuration library generic enough that can be used in as many scenarios as possible. Several configuration libraries I’ve used in the past can be created in a few lines with config-rs as it stands now.
This is the first release and the core features exist and work but there are several more features planned soon:
- Remote configuration: etcd and consul
- Configuration file watching
- More data type support (date, time, durations, maps, arrays)
- Deserialize pieces of config into structs with serde
If you find any errors or have any configuration scenarios that are not covered, please, let me know in the issues.