Rust crate for parsing most Garmin FIT files. Supports custom developer data, but not compressed timestamp headers.
Usage (not yet on crates.io):
Cargo.toml
:
[dependencies]
fit-rs = {git = "https://github.com/jenslar/fit-rs.git"}
src/main.rs
:
use fit_rs::Fit;
fn main() -> std::io::Result<()> {
let path = PathBuf::from("MYFITFILE.fit");
let fit = Fit::new(&path)?;
println!("{fit:#?}");
Ok(())
}