5 releases
0.1.6 | Sep 19, 2022 |
---|---|
0.1.5 |
|
0.1.3 | Mar 3, 2022 |
0.1.2 | Feb 25, 2022 |
0.1.0 | Dec 22, 2021 |
#700 in Network programming
8,514 downloads per month
Used in 36 crates
(7 directly)
19KB
458 lines
netif
List the network interfaces on the system.
Example usage:
fn main() {
for ifa in netif::up().unwrap() {
if !ifa.address().is_loopback() {
println!("{:?}", ifa);
}
}
}
license
ISC, see the LICENSE file.
Dependencies
~215KB