keyvalues-parser 0.2.3

A parser/renderer for vdf text
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use keyvalues_parser::Vdf;

const ONE_BASE_PER_LINE: &str = r##"
#base"foo.vdf"#base"bar.vdf"
key val
"##;

#[test]
#[should_panic] // FIXME(cosmic): well it shouldn't parse right, but it currently does...
fn one_base_per_line() {
    Vdf::parse(ONE_BASE_PER_LINE).unwrap_err();
}