local_ip

✨ Simple library was made with rust, to get your local ip.

Getting Started.

[dependencies] get_local_ip = "0.1.3"

fn main() { println!("{:?}", getlocalip::network::ip().unwrap()); // "{\"local\":\"127.0.0.1\",\"network\":\"192.168.43.102\"}" } ```