3 releases

0.0.3 Jul 31, 2019
0.0.2 Jul 31, 2019
0.0.1 Jul 31, 2019

#15 in #gain

Apache-2.0

6KB

iplocation

Simple Rust library that uses http://ip-api.com/json to gain location data based on your public IP address.

Example

use iplocation;

fn main() {
    let result = iplocation::get().unwrap();

    println!("{:?}", result);
}

Dependencies

~20MB
~418K SLoC