config_lite
A lightweight and customizable configuration management library for binary crates. Inspired by node config
Caveats
The values read from the configuration files must be owned, meaning they cannot be deserialized with serde into reference types
Still a work in progress
Example
Given the following json config file:
The configurations can be read like so:
use Config;
use Deserialize;
let config = init?;
let value = config.?;
let user = config.?;
let database_password = config.?;