Decision Workspace
aya-metrics-mocks vs libbpf-rs vs libbpf-cargo
Side-by-side comparison of Rust crates
44
aya-metrics-mocks
growingv0.2.1
A crude mocking library for Aya.
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
| aya-metrics-mocks | libbpf-rs | libbpf-cargo | |
|---|---|---|---|
| Health Score | 44 | 71 | 70 |
| Total Downloads | 1.4K | 7.7M | 6.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 724 | 313 |
| Releases | 2 | 61 | 64 |
| Last Updated | 456d ago | 14d ago | 14d ago |
| Age | 1y 6m | 6y 4m | 6y 4m |
Health Breakdown
aya-metrics-mocks
Maintenance
6
Quality
15
Community
9
Popularity
4
Documentation
10
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
| aya-metrics-mocks | libbpf-rs | libbpf-cargo | |
|---|---|---|---|
| Version | 0.2.1 | 0.27.2 | 0.27.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | LGPL-2.1-only OR BSD-2-Clause | LGPL-2.1-only OR BSD-2-Clause |
| Dependencies | 3 | 18 | 14 |
| Crate Size | 6KB | 135KB | 63KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.82 | 1.82 |
| Owners | 3 | 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.
- •⚠ aya-metrics-mocks has not been updated in over a year.