machine-ip
Get your local ip address in Rust, using hostname -I
under the hood, may not work in older versions of windows
= "0.1"
then
extern crate machine_ip;
let ip = get.unwrap;
println!;
License
MIT
Get your local ip address in Rust, using hostname -I
under the hood, may not work in older versions of windows
machine-ip = "0.1"
then
extern crate machine_ip;
let ip = machine_ip::get().unwrap();
println!("local ip address: {:?}", ip.to_string());
MIT