5 releases (3 breaking)
0.4.0 | Oct 9, 2021 |
---|---|
0.3.0 | Oct 8, 2021 |
0.2.1 | Oct 8, 2021 |
0.2.0 | Oct 8, 2021 |
0.1.0 | Oct 8, 2021 |
#4 in #trail
98KB
302 lines
Introduction
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, a GW2 overlay for Linux.
Example used
- Uses taco marker from here as an example.
- Attempts to parse a
.trl
file which is a C struct generated by Taco, usingnom
. - After that, attempts to marshal it into a json that's friendly to Burrito.
Usage
let json_str = gw2_taco_parser::taco_to_json_str("folder_name", "abc.xml");
Dependencies
~1.7–2.7MB
~56K SLoC