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 5514/week @ 2022-11-29 7387/week @ 2022-12-06 5831/week @ 2022-12-13 5979/week @ 2022-12-20 4300/week @ 2022-12-27 6118/week @ 2023-01-03 8184/week @ 2023-01-10 5902/week @ 2023-01-17 6277/week @ 2023-01-24 7310/week @ 2023-01-31 6945/week @ 2023-02-07 6788/week @ 2023-02-14 8665/week @ 2023-02-21 7535/week @ 2023-02-28 8127/week @ 2023-03-07 6198/week @ 2023-03-14

31,449 downloads per month
Used in 187 crates (46 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

~70KB