Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 454 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 454 Bytes

fit-rs

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(())
}