libconfig-rs 4.0.0

libconfig parser in rust
Documentation
1
2
3
4
5
6
7
8
use std::{fs, str::FromStr};

fn main() {
    let config = include_str!("../../tests/2.vproj");
    let res = libconfig_rs::Value::from_str(config).unwrap();
    let new = res.to_string();
    fs::write("test/2_new.vproj", new).unwrap();
}