Documentation
1
2
3
4
5
6
7
8
use toml::Table;

use std::{fs::read_to_string, path::Path};

pub fn prase(paff: &Path) -> Table{
    let contents: String = read_to_string(paff).expect("lol");
    return contents.parse::<Table>().unwrap();
}