partial_config 0.6.1

A Rust crate to implement layered partial configuration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Partial Config

This is a WIP crate for providing a generic interface to configure one's application. 

It is typical to see a configuration be composed from multiple sources: the command line, the environment variables, a config file, sometimes even through a web server. 

This crate provides a generic way to do so. 

Specifically, it provides
- [X] Two traits `Partial` and `Source` 
- [ ] A derive macro `Partial` that generates a new structure
- [ ] An implementation for `Source` if your configuration also is `serde::de::DeserializeOwned`
- [ ] Logic to combine multiple configuration sources
- [ ] Derive macro to produce detailed error reports
- [ ] Support for logging overlapping or overriding specifications