Decision Workspace
socket_filter vs libbpf-rs vs libbpf-cargo
Side-by-side comparison of Rust crates
48
socket_filter
growingv0.2.6
A simple bpf program to monitor host's net traffic
71
libbpf-rs
growingv0.27.2
libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys
70
libbpf-cargo
growingv0.27.2
Cargo plugin to build bpf programs
Core Metrics
| socket_filter | libbpf-rs | libbpf-cargo | |
|---|---|---|---|
| Health Score | 48 | 71 | 70 |
| Total Downloads | 11.6K | 7.7M | 6.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 724 | 313 |
| Releases | 13 | 61 | 64 |
| Last Updated | 61d ago | 14d ago | 14d ago |
| Age | 2y | 6y 4m | 6y 4m |
Health Breakdown
socket_filter
Maintenance
15
Quality
14
Community
2
Popularity
5
Documentation
12
libbpf-rs
Maintenance
19
Quality
14
Community
15
Popularity
8
Documentation
15
libbpf-cargo
Maintenance
19
Quality
14
Community
14
Popularity
8
Documentation
15
Technical Details
| socket_filter | libbpf-rs | libbpf-cargo | |
|---|---|---|---|
| Version | 0.2.6 | 0.27.2 | 0.27.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | LGPL-2.1-only OR BSD-2-Clause | LGPL-2.1-only OR BSD-2-Clause | LGPL-2.1-only OR BSD-2-Clause |
| Dependencies | 6 | 18 | 14 |
| Crate Size | 606KB | 135KB | 63KB |
| Features | 3 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.71 | 1.82 | 1.82 |
| Owners | 1 | 6 | 6 |
Links
Quick Verdict
- •libbpf-rs leads with a health score of 71/100, but none of the options score above 80.
- •libbpf-rs is depended on by 724 crates — strongest ecosystem trust.