Crates.io | rust_tcx |
lib.rs | rust_tcx |
version | 0.9.0 |
source | src |
created_at | 2021-03-23 21:04:09.49554 |
updated_at | 2021-03-23 21:04:09.49554 |
description | Reads TCX (Garmin Training Center Database XML) files |
homepage | |
repository | https://github.com/msimms/rust_tcx |
max_upload_size | |
id | 372719 |
size | 2,229,963 |
Training Center XML (TCX) parser written in Rust. It builds on Rust's serde deserialization framework.
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);
}
This is a work-in-progress.
This project is licensed under the MIT license.