gw2_taco_parser 0.4.0

A very simple util that parses the XML and corresponding C struct trail files (using nom) from Taco (GW2 overlay), to produce a json compatible format for [Burrito](https://github.com/AsherGlick/Burrito), a GW2 overlay for Linux.
Documentation
1
2
3
4
5
6
7
8
mod trail_parser;
mod xml_parser;

pub fn taco_to_json_str(folder_name: String, xml_file: String) -> String {
    let parsed = xml_parser::process_taco_data(folder_name, xml_file);
    let json_string = serde_json::to_string(&parsed).unwrap();
    return json_string
}