if-addrs2 0.10.2

Return interface IP addresses on Posix and windows systems
Documentation
  • Coverage
  • 96.3%
    26 out of 27 items documented0 out of 15 items with examples
  • Size
  • Source code size: 43.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.99 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • if-nil/if-addrs2
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • if-nil

if-addrs

https://crates.io/crates/if-addrs2

Overview

Retrieve network interface info for all interfaces on the system.

// List all of the machine's network interfaces
for iface in 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.