5 releases

0.2.2 Mar 4, 2020
0.2.1 Dec 6, 2018
0.2.0 Apr 27, 2018
0.1.1 Apr 25, 2018
0.1.0 Sep 19, 2017

#1617 in Parser implementations

MIT/Apache

8KB
138 lines

Use Google location history files in rust

Getting started

extern crate location_history;

use location_history::LocationsExt;

let mut contents = String::new();
File::open(file).unwrap().read_to_string(&mut contents).unwrap();
let locations = location_history.deserialize(&contents).filter_outliers();
for location in locations {
    println!("{:?}", location);
}

lib.rs:

Library to parse google location history data

Dependencies

~1.6–2.6MB
~51K SLoC