| Crates.io | location_history |
| lib.rs | location_history |
| version | 0.2.2 |
| created_at | 2017-09-19 18:37:56.936429+00 |
| updated_at | 2020-03-04 19:25:36.779512+00 |
| description | Parse Google LocationHistory.json |
| homepage | https://github.com/etrombly/location_history.git |
| repository | https://github.com/etrombly/location_history.git |
| max_upload_size | |
| id | 32332 |
| size | 7,946 |
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);
}