Registry / networking / netdev

netdev

JSON →
library0.44.0rscratesunverified

Cross-platform library for enumerating network interfaces with metadata.

# Cargo.toml [dependencies] netdev = "0.44.0"
INSTALL
IMPORT
SIG · NETDEV
N
netdev
networkingrustv0.44.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Interface
use netdev::interface::Interface;

List all network interfaces and their IP addresses.

use netdev::interface::Interface; fn main() { for iface in Interface::get_all() { println!("Interface: {} - IP: {:?}", iface.name, iface.ipv4); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.44.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
netdev — cargo add netdev · libregistry