Decision Workspace
af_packet vs pcap vs selinux
Side-by-side comparison of Rust crates
38
af_packet
growingv0.3.1
AF_PACKET bindings for Rust, primarily to be used for high-performance network security applications.
67
pcap
stablev2.4.0
A packet capture API around pcap/wpcap
64
selinux
growingv0.6.0
Flexible Mandatory Access Control for Linux
Core Metrics
| af_packet | pcap | selinux | |
|---|---|---|---|
| Health Score | 38 | 67 | 64 |
| Total Downloads | 27.0K | 4.9M | 2.4M |
| 30d Downloads | 52 | 561.9K | 337.8K |
| Dependents | 0 | 572 | 217 |
| Releases | 15 | 45 | 28 |
| Last Updated | 2125d ago | 121d ago | 53d ago |
| Age | 8y 3m | 11y | 4y 9m |
Health Breakdown
af_packet
Maintenance
4
Quality
15
Community
6
Popularity
5
Documentation
8
pcap
Maintenance
12
Quality
19
Community
13
Popularity
8
Documentation
15
selinux
Maintenance
16
Quality
13
Community
12
Popularity
8
Documentation
15
Technical Details
| af_packet | pcap | selinux | |
|---|---|---|---|
| Version | 0.3.1 | 2.4.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | GPL-3.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 17 | 11 |
| Crate Size | 20KB | 79KB | 45KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2024 |
| MSRV | — | 1.64 | 1.88 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •pcap leads with a health score of 67/100, but none of the options score above 80.
- •pcap is depended on by 572 crates — strongest ecosystem trust.
- •⚠ af_packet has not been updated in over a year.
- •af_packet, selinux are pre-1.0 — API may change.