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

#46 in #retrieve

Download history 6145/week @ 2023-12-18 3249/week @ 2023-12-25 11318/week @ 2024-01-01 12860/week @ 2024-01-08 12845/week @ 2024-01-15 13642/week @ 2024-01-22 9099/week @ 2024-01-29 6831/week @ 2024-02-05 5972/week @ 2024-02-12 6554/week @ 2024-02-19 10705/week @ 2024-02-26 15186/week @ 2024-03-04 16032/week @ 2024-03-11 13290/week @ 2024-03-18 11225/week @ 2024-03-25 8998/week @ 2024-04-01

51,025 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