system-config 0.1.2

A library for storing application properties on disk.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use system_config::Config;

fn main() {
    let config = Config::new("system-config-example").unwrap();

    let key1 = config.get("key1").unwrap();
    let key2 = config.get("key2").unwrap();

    println!("key1: {}", key1);
    println!("key2: {}", key2);
}