spigot 0.1.2

parser for valve's keyvalue file format (gameinfo.txt, vmt, etc.)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# spigot

A parser for Valve's Key-Value format, used in vmt files, gameinfo.txt, etc.

Example:
```rust
use spigot::{from_str, Value};

fn main() {
    let gameinfo = spigot::from_str(include_str!("portal/gameinfo.txt"));

    assert_eq!(&gameinfo["GameInfo"]["game"], Value::String("Portal".to_string()));
}
```