Decision Workspace
free-cpus vs num_cpus vs num_cpu
Side-by-side comparison of Rust crates
46
free-cpus
growingv2.0.0
Get the set of free CPU cores on your Linux machine.
60
num_cpus
growingv1.17.0
Get the number of CPUs on a machine.
45
num_cpu
growingv1.14.0
Get the number of CPUs on a machine.
Core Metrics
| free-cpus | num_cpus | num_cpu | |
|---|---|---|---|
| Health Score | 46 | 60 | 45 |
| Total Downloads | 3.0K | 433.1M | 5.9K |
| 30d Downloads | 4 | 23.5M | 14 |
| Dependents | 0 | 42.9K | 0 |
| Releases | 2 | 40 | 4 |
| Last Updated | 886d ago | 301d ago | 1590d ago |
| Age | 2y 5m | 11y | 4y 4m |
Health Breakdown
free-cpus
Maintenance
4
Quality
20
Community
5
Popularity
4
Documentation
13
num_cpus
Maintenance
8
Quality
19
Community
14
Popularity
8
Documentation
11
num_cpu
Maintenance
9
Quality
15
Community
3
Popularity
5
Documentation
13
Technical Details
| free-cpus | num_cpus | num_cpu | |
|---|---|---|---|
| Version | 2.0.0 | 1.17.0 | 1.14.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 2 | 2 | 0 |
| Crate Size | 7KB | 16KB | 1KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 2.5% | 75.0% |
| Edition | 2021 | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •num_cpus leads with a health score of 60/100, but none of the options score above 80.
- •num_cpus is depended on by 42.9K crates — strongest ecosystem trust.
- •⚠ free-cpus, num_cpu have not been updated in over a year.