3 releases

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

#16 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

~22MB
~452K SLoC