get_all_interfaces 0.1.1

Checks for all active interfaces on your device
Documentation
  • Coverage
  • 60%
    3 out of 5 items documented0 out of 3 items with examples
  • Size
  • Source code size: 4.88 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 185.47 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • codemanfreecodes/get_all_interfaces_01
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • codemanfreecodes

Check All Interfaces on Device

A Rust crate for checking and listing all network interfaces on a device.

Overview

This Rust crate provides a simple and straightforward way to retrieve a list of all network interfaces available on a device. It abstracts the platform-specific details and offers a unified interface for cross-platform compatibility.

Features

  • Retrieve a list of all network interfaces on the device.
  • Access information about each network interface, including name, MAC address, IP addresses, and more. #ComingSoon
  • Cross-platform compatibility (Linux, Windows, macOS, etc.). #ComingSoon

Usage

To use this crate in your Rust project, add this in your main.rc:

extern crate get_all_interfaces;

fn main() {
	let interface = get_all_interfaces::select_network_interface();
	    
	match interface {
        	Some(iface) => println!("Selected interface: {}", iface.name),
        	None => println!("No network interface selected."),
    		}
}