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

#60 in #retrieve

Download history 17186/week @ 2024-05-16 17156/week @ 2024-05-23 13573/week @ 2024-05-30 10836/week @ 2024-06-06 12987/week @ 2024-06-13 12289/week @ 2024-06-20 14619/week @ 2024-06-27 17780/week @ 2024-07-04 18301/week @ 2024-07-11 18058/week @ 2024-07-18 18971/week @ 2024-07-25 12159/week @ 2024-08-01 12824/week @ 2024-08-08 13982/week @ 2024-08-15 15050/week @ 2024-08-22 12219/week @ 2024-08-29

56,167 downloads per month
Used in fewer than 45 crates

MIT OR BSD-3-Clause

37KB
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

~115KB