Decision Workspace
xdg-portal vs xdp-hook vs libbpf-sys
Side-by-side comparison of Rust crates
41
xdg-portal
growingv0.2.0
implement for xdg-desktop-portal
37
xdp-hook
growingv0.1.3
trigger user-configured actions when other apps use xdg-desktop-portal ( https://github.com/flatpak/xdg-desktop-portal )
70
libbpf-sys
stablev1.7.0+v1.7.0
Rust bindings to libbpf from the Linux kernel
Core Metrics
| xdg-portal | xdp-hook | libbpf-sys | |
|---|---|---|---|
| Health Score | 41 | 37 | 70 |
| Total Downloads | 1.4K | 4.0K | 5.8M |
| 30d Downloads | 6 | 5 | 436.4K |
| Dependents | 0 | 0 | 240 |
| Releases | 2 | 3 | 62 |
| Last Updated | 356d ago | 1434d ago | 11d ago |
| Age | 1y | 3y 11m | 8y 4m |
Health Breakdown
xdg-portal
Maintenance
7
Quality
14
Community
6
Popularity
4
Documentation
10
xdp-hook
Maintenance
4
Quality
13
Community
6
Popularity
4
Documentation
10
libbpf-sys
Maintenance
18
Quality
16
Community
13
Popularity
8
Documentation
15
Technical Details
| xdg-portal | xdp-hook | libbpf-sys | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.3 | 1.7.0+v1.7.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | GPL-3.0-only | BSD-2-Clause |
| Dependencies | 5 | 8 | 4 |
| Crate Size | 28KB | 28KB | 4.3MB |
| Features | 0 | 0 | 11 |
| Yanked % | 0.0% | 0.0% | 17.7% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.82 |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •libbpf-sys leads with a health score of 70/100, but none of the options score above 80.
- •libbpf-sys is depended on by 240 crates — strongest ecosystem trust.
- •⚠ xdp-hook has not been updated in over a year.
- •xdg-portal, xdp-hook are pre-1.0 — API may change.