libset 0.1.6

A configuration file management library for Rust applications.
Documentation
1
2
3
4
5
6
7
8
use libset::{Config, Error};
use serde_json::json;

fn main() -> Result<(), Error> {
    let config = Config::new("org.example.Demo", 1, None)?;
    config.set_json("colors", json!({ "accent": "#7a7af9" }))?;
    Ok(())
}