| Crates.io | if-addrs2 |
| lib.rs | if-addrs2 |
| version | 0.10.2 |
| created_at | 2023-09-13 15:15:30.958594+00 |
| updated_at | 2023-09-13 15:15:30.958594+00 |
| description | Return interface IP addresses on Posix and windows systems |
| homepage | |
| repository | https://github.com/if-nil/if-addrs2 |
| max_upload_size | |
| id | 971557 |
| size | 44,354 |
https://crates.io/crates/if-addrs2
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);
}
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.
Copyrights in the SAFE Network are retained by their contributors. No copyright assignment is required to contribute to this project.