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

#53 in #retrieve

Download history 12923/week @ 2024-08-12 15978/week @ 2024-08-19 14142/week @ 2024-08-26 17515/week @ 2024-09-02 14545/week @ 2024-09-09 14127/week @ 2024-09-16 16388/week @ 2024-09-23 18021/week @ 2024-09-30 19473/week @ 2024-10-07 25229/week @ 2024-10-14 25764/week @ 2024-10-21 26495/week @ 2024-10-28 25944/week @ 2024-11-04 24700/week @ 2024-11-11 27647/week @ 2024-11-18 22175/week @ 2024-11-25

101,557 downloads per month
Used in fewer than 48 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