Decision Workspace
xbpf-macros vs xbpf vs libbpf-rs
Side-by-side comparison of Rust crates
46
xbpf-macros
experimentalv0.0.4
Procedural macros for xbpf
49
xbpf
experimentalv0.0.6
An ergonomic and light-weight eBPF library
71
libbpf-rs
growingv0.27.2
libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys
Core Metrics
| xbpf-macros | xbpf | libbpf-rs | |
|---|---|---|---|
| Health Score | 46 | 49 | 71 |
| Total Downloads | 19 | 353 | 7.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 19 | 724 |
| Releases | 1 | 6 | 61 |
| Last Updated | 17d ago | 10d ago | 14d ago |
| Age | 17d | 1m | 6y 4m |
Health Breakdown
xbpf-macros
Maintenance
12
Quality
14
Community
8
Popularity
2
Documentation
10
xbpf
Maintenance
13
Quality
13
Community
10
Popularity
3
Documentation
10
libbpf-rs
Maintenance
19
Quality
14
Community
15
Popularity
8
Documentation
15
Technical Details
| xbpf-macros | xbpf | libbpf-rs | |
|---|---|---|---|
| Version | 0.0.4 | 0.0.6 | 0.27.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | LGPL-2.1-only OR BSD-2-Clause |
| Dependencies | 3 | 10 | 18 |
| Crate Size | 2KB | 819KB | 135KB |
| Features | 0 | 6 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.82 |
| Owners | 1 | 1 | 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.