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 |
#718 in Network programming
9,291 downloads per month
Used in 34 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
~220KB