Decision Workspace
has_fast_pdep vs cpufeatures vs raw-cpuid
Side-by-side comparison of Rust crates
49
has_fast_pdep
growingv0.1.3
Detect fast hardware support for PDEP/PEXT.
65
cpufeatures
growingv0.3.1
Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets, with no_std support and support for mobile targets including Android and iOS
60
raw-cpuid
growingv11.6.0
A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore.
Core Metrics
| has_fast_pdep | cpufeatures | raw-cpuid | |
|---|---|---|---|
| Health Score | 49 | 65 | 60 |
| Total Downloads | 2.0K | 1.1B | 183.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 628 | 1.5K |
| Releases | 4 | 27 | 55 |
| Last Updated | 505d ago | 44d ago | 400d ago |
| Age | 1y 4m | 5y 5m | 11y 6m |
Health Breakdown
has_fast_pdep
Maintenance
11
Quality
16
Community
6
Popularity
4
Documentation
12
cpufeatures
Maintenance
15
Quality
9
Community
18
Popularity
8
Documentation
15
raw-cpuid
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
12
Technical Details
| has_fast_pdep | cpufeatures | raw-cpuid | |
|---|---|---|---|
| Version | 0.1.3 | 0.3.1 | 11.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 4 | 10 |
| Crate Size | 9KB | 14KB | 118KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 22.2% | 1.8% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85.0 | 1.85 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •cpufeatures leads with a health score of 65/100, but none of the options score above 80.
- •raw-cpuid is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ has_fast_pdep, raw-cpuid have not been updated in over a year.
- •has_fast_pdep, cpufeatures are pre-1.0 — API may change.