1 unstable release
Uses old Rust 2015
0.1.0 | Sep 12, 2016 |
---|
#213 in #ip-address
147 downloads per month
Used in 3 crates
2KB
local-ip
Get your local ip address in Rust.
local-ip = "0.1"
then
extern crate local_ip;
let ip = local_ip::get().unwrap();
println!("local ip address: {:?}", ip.to_string());
TODO: Windows support.
License
MIT or Apache-2.0, at your option.
Dependencies
~3.5MB
~75K SLoC