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

#718 in Network programming

Download history 1627/week @ 2024-07-22 1882/week @ 2024-07-29 1711/week @ 2024-08-05 1430/week @ 2024-08-12 1829/week @ 2024-08-19 2085/week @ 2024-08-26 2130/week @ 2024-09-02 2279/week @ 2024-09-09 1833/week @ 2024-09-16 2330/week @ 2024-09-23 2143/week @ 2024-09-30 2958/week @ 2024-10-07 2310/week @ 2024-10-14 2199/week @ 2024-10-21 2417/week @ 2024-10-28 2164/week @ 2024-11-04

9,291 downloads per month
Used in 34 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

~220KB