taplo 0.1.0

A TOML parser, analyzer and formatter library
Documentation
1
2
3
4
5
6
use std::fs;

fn main() {
    let src = fs::read_to_string("taplo-ide/vscode/sample/example-v0.4.0.toml").unwrap();
    println!("{}", toml::from_str::<toml::Value>(&src).unwrap())
}