6 releases
Uses old Rust 2015
0.3.0 | Feb 22, 2017 |
---|---|
0.2.3 | Oct 11, 2016 |
0.2.2 | Aug 22, 2016 |
0.1.0 | Aug 3, 2016 |
#42 in #geolocation
23 downloads per month
7KB
wifilocation
A crate to return your GPS location using WiFi hotspots.
Inspired by Fractals wifi-location (https://github.com/contra/wifi-location)
Full documentation can be found here.
Usage
This crate is on crates.io and can be
used by adding wifilocation
to the dependencies in your project's Cargo.toml
.
[dependencies]
wifilocation = "0.3"
and this to your crate root:
extern crate wifilocation;
Example
use wifilocation;
println!("{:?}", wifilocation::get_location(wifilocation::get_towers()));
Changelog
- 0.3.0 - simplified code after 1.15 stable release and switched from curl to reqwest
Copyright
Copyright 2016 Mark Sta Ana.
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> at your option. This file may not be copied, modified, or distributed except according to those terms.
Dependencies
~11–20MB
~321K SLoC