10 releases

Uses old Rust 2015

0.5.3 Jun 21, 2018
0.5.2 May 18, 2018
0.5.1 Apr 2, 2018
0.5.0 Jan 5, 2018
0.1.1 Jan 12, 2016
Download history 5948/week @ 2022-06-08 8386/week @ 2022-06-15 5242/week @ 2022-06-22 6704/week @ 2022-06-29 4216/week @ 2022-07-06 4426/week @ 2022-07-13 7299/week @ 2022-07-20 12518/week @ 2022-07-27 13049/week @ 2022-08-03 9790/week @ 2022-08-10 12016/week @ 2022-08-17 9228/week @ 2022-08-24 7685/week @ 2022-08-31 7083/week @ 2022-09-07 8883/week @ 2022-09-14 5830/week @ 2022-09-21

30,675 downloads per month
Used in 180 crates (44 directly)

MIT OR BSD-3-Clause

36KB
735 lines

get_if_addrs

Maintainer: Spandan Sharma (spandan.sharma@maidsafe.net)

Crate Documentation Linux/OS X Windows Issues
Documentation Build Status Build status Stories in Ready
MaidSafe website SAFE Dev Forum SAFE Network Forum

Overview

Retrieve network interface info for all interfaces on the system.

// List all of the machine's network interfaces
for iface in get_if_addrs::get_if_addrs().unwrap() {
    println!("{:#?}", iface);
}

Todo Items

  • Create an API for responding to changes in network interfaces.

License

This SAFE Network library is dual-licensed under the Modified BSD (LICENSE-BSD https://opensource.org/licenses/BSD-3-Clause) or the MIT license (LICENSE-MIT http://opensource.org/licenses/MIT) at your option.

Contribution

Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.

Dependencies

~67KB