fit 0.5.0

A small crate used for reading and decoding FIT files generated by sports devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    for entry in std::fs::read_dir("data").unwrap() {
        let entry = entry.unwrap();
        let path = entry.path();
        if let Some(s) = &path.extension() {
            if let Some("fit") = s.to_str() {
                let f = fit::Fit::new(&path);
                for m in f {
                    m.kind;
                }
            }
        }
    }
}