5 releases

0.1.6 Sep 19, 2022
0.1.5 Sep 19, 2022
0.1.3 Mar 3, 2022
0.1.2 Feb 25, 2022
0.1.0 Dec 22, 2021

#700 in Network programming

Download history 1491/week @ 2024-08-11 1742/week @ 2024-08-18 2108/week @ 2024-08-25 2103/week @ 2024-09-01 2327/week @ 2024-09-08 1826/week @ 2024-09-15 2307/week @ 2024-09-22 2222/week @ 2024-09-29 2875/week @ 2024-10-06 2367/week @ 2024-10-13 2190/week @ 2024-10-20 2406/week @ 2024-10-27 1984/week @ 2024-11-03 1966/week @ 2024-11-10 2549/week @ 2024-11-17 1894/week @ 2024-11-24

8,514 downloads per month
Used in 36 crates (7 directly)

ISC license

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