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 |
#5 in #system-interface
36,133 downloads per month
Used in 49 crates
(9 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