Decision Workspace
getifs vs tun-rs vs getifaddrs
Side-by-side comparison of Rust crates
54
getifs
growingv0.6.0
Cross-platform enumeration of network interfaces and their MTU, gateway, multicast, and local/private/public IP addresses.
63
tun-rs
stablev2.8.3
Cross-platform TUN and TAP library
61
getifaddrs
growingv0.6.2
A cross-platform library for retrieving network interface addresses and indices (getifaddrs, if_nametoindex, if_indextoname).
Core Metrics
| getifs | tun-rs | getifaddrs | |
|---|---|---|---|
| Health Score | 54 | 63 | 61 |
| Total Downloads | 44.1K | 244.4K | 685.9K |
| 30d Downloads | 13.9K | 52.4K | 132.4K |
| Dependents | 39 | 150 | 88 |
| Releases | 12 | 76 | 14 |
| Last Updated | 19d ago | 39d ago | 15d ago |
| Age | 1y 4m | 1y 8m | 1y 8m |
Health Breakdown
getifs
Maintenance
18
Quality
6
Community
9
Popularity
6
Documentation
15
tun-rs
Maintenance
17
Quality
16
Community
11
Popularity
6
Documentation
13
getifaddrs
Maintenance
18
Quality
15
Community
11
Popularity
7
Documentation
10
Technical Details
| getifs | tun-rs | getifaddrs | |
|---|---|---|---|
| Version | 0.6.0 | 2.8.3 | 0.6.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 21 | 30 | 3 |
| Crate Size | 131KB | 172KB | 19KB |
| Features | 1 | 9 | 0 |
| Yanked % | 58.3% | 1.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.85.0 | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •tun-rs leads with a health score of 63/100, but none of the options score above 80.
- •getifaddrs has the most downloads (685.9K), suggesting wider adoption.
- •tun-rs is depended on by 150 crates — strongest ecosystem trust.
- •getifs, getifaddrs are pre-1.0 — API may change.