pub fn parse(param: Param) -> Result<(), Box<dyn Error>>
Expand description

Parse toml file

Example

let param = Param {
    key: String::from("package.name"),
    filename: String::from("Cargo.toml")
};
let result = parse(param).unwrap();
assert_eq!(result, ());