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

#8 in #interfaces

Download history 12013/week @ 2023-11-21 8597/week @ 2023-11-28 6158/week @ 2023-12-05 6817/week @ 2023-12-12 5637/week @ 2023-12-19 4050/week @ 2023-12-26 12029/week @ 2024-01-02 12546/week @ 2024-01-09 13129/week @ 2024-01-16 13666/week @ 2024-01-23 8056/week @ 2024-01-30 6854/week @ 2024-02-06 6058/week @ 2024-02-13 6557/week @ 2024-02-20 11896/week @ 2024-02-27 12964/week @ 2024-03-05

38,426 downloads per month
Used in fewer than 44 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