#center #training #xml #read #parser #tcx

yanked rust_tcx

Reads TCX (Garmin Training Center Database XML) files

0.9.0 Mar 23, 2021

#25 in #center

MIT license

110KB
177 lines

tcx

Training Center XML (TCX) parser written in Rust. It builds on Rust's serde deserialization framework.

Example

extern crate tcx;

use std::io::BufReader;
use std::fs::File;

fn main() {
    let file = File::open("tests/20210119_run_garmin_fenix6.tcx").unwrap();
    let mut reader = std::io::BufReader::new(file);
    let _result = crate::tcx::read(&mut reader);
}

Current Status

This is a work-in-progress.

License

This project is licensed under the MIT license.

Dependencies

~1.8–2.6MB
~51K SLoC