nifa-0.2.0 is not a library.
nifa 
Cross-platform CLI tool for network information
Features
- List all network interfaces with detailed information
- Show complete details of a specific interface
- Monitor live traffic statistics in TUI
- Export snapshot in JSON or YAML for automation
- Fetch your public IPv4/IPv6
- Display system information along with default interface
Supported Platforms
- Linux
- macOS
- Windows
Usage
Usage: nifa [OPTIONS] [COMMAND]
Commands:
list Show all interfaces
show Show details for specified interface
monitor Monitor traffic statistics for all interfaces
os Show OS/network stack/permission information
export Export snapshot as JSON/YAML
public Show public IP information
help Print this message or the help of the given subcommand(s)
Options:
-d, --default Show only default interface
-f, --format <FORMAT> Output format [default: tree] [possible values: tree, json, yaml]
--with-vendor With vendor info (OUI lookup)
-h, --help Print help
-V, --version Print version
See nifa -h for more detail.
Note for Developers
If you are looking for a Rust library for network interface, please check out netdev.