Decision Workspace
cpufeatures vs raw-cpuid vs core_detect
Side-by-side comparison of Rust crates
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.
57
core_detect
growingv1.0.0
A `no_std` version of the `std::is_x86_feature_detected!` macro.
Core Metrics
| cpufeatures | raw-cpuid | core_detect | |
|---|---|---|---|
| Health Score | 65 | 60 | 57 |
| Total Downloads | 1.1B | 183.8M | 11.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 628 | 1.5K | 146 |
| Releases | 27 | 55 | 2 |
| Last Updated | 44d ago | 400d ago | 1979d ago |
| Age | 5y 5m | 11y 6m | 6y |
Health Breakdown
cpufeatures
Maintenance
15
Quality
9
Community
18
Popularity
8
Documentation
15
raw-cpuid
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
12
core_detect
Maintenance
3
Quality
22
Community
12
Popularity
8
Documentation
12
Technical Details
| cpufeatures | raw-cpuid | core_detect | |
|---|---|---|---|
| Version | 0.3.1 | 11.6.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT/Apache-2.0 |
| Dependencies | 4 | 10 | 1 |
| Crate Size | 14KB | 118KB | 18KB |
| Features | 0 | 4 | 3 |
| Yanked % | 22.2% | 1.8% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | 1.85 | — | — |
| Owners | 2 (team) | 1 | 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.
- •⚠ raw-cpuid, core_detect have not been updated in over a year.
- •cpufeatures is pre-1.0 — API may change.