Cross-platform library for network interface and gateway information.
# Cargo.toml
[dependencies]
default-net = "0.22.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Retrieve the default network gateway.
Run with sudo or set capabilities: `sudo setcap cap_net_admin+ep your_binary`.
No dependency data recorded yet.