gw2_taco_parser

Crates.iogw2_taco_parser
lib.rsgw2_taco_parser
version0.4.0
sourcesrc
created_at2021-10-08 03:28:41.919129
updated_at2021-10-09 09:12:55.172327
descriptionA 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.
homepage
repositoryhttps://github.com/jlloh/gw2_taco_parser
max_upload_size
id462160
size175,313
Loh Jia Long (jlloh)

documentation

README

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, using nom.
  • 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");
Commit count: 18

cargo fmt