2 releases

0.1.1 Sep 11, 2023
0.1.0 Sep 11, 2023

#1399 in Parser implementations

32 downloads per month

MIT/Apache

35KB
878 lines

War Thunder Battle Report Parser

Recently Gaijin changed how battle reports are displayed in your message log. Doing that, they added the ability to copy a battle report to your clipboard. This library can deserialize that battle report using serde.

Usage

Add the following to your Cargo.toml:

[dependencies]
wt-battle-report = "0.1"

Then you can use the library like this:

fn main() {
    let report = "Battle report text";
    let battle_report = wt_battle_report::from_str(report).unwrap();
    println!("{:#?}", battle_report);
}

Dependencies

~1.3–2.1MB
~43K SLoC