Decision Workspace
os-id vs affinity vs affinity-linux
Side-by-side comparison of Rust crates
49
os-id
growingv3.1.0
Provides OS ids abstractions for process and thread
49
affinity
growingv0.1.2
Provides a consistent way to set core affinity for currently running threads and processes
49
affinity-linux
growingv1.0.1
Get and set CPU affinity
Core Metrics
| os-id | affinity | affinity-linux | |
|---|---|---|---|
| Health Score | 49 | 49 | 49 |
| Total Downloads | 580.5K | 1.2M | 8.0K |
| 30d Downloads | 69.0K | 48.4K | 1.0K |
| Dependents | 7 | 134 | 22 |
| Releases | 7 | 3 | 2 |
| Last Updated | 505d ago | 1623d ago | 331d ago |
| Age | 6y 2m | 5y 11m | 11m |
Health Breakdown
os-id
Maintenance
5
Quality
22
Community
8
Popularity
7
Documentation
7
affinity
Maintenance
4
Quality
14
Community
12
Popularity
7
Documentation
12
affinity-linux
Maintenance
7
Quality
18
Community
9
Popularity
5
Documentation
10
Technical Details
| os-id | affinity | affinity-linux | |
|---|---|---|---|
| Version | 3.1.0 | 0.1.2 | 1.0.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | BSL-1.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 4 | 2 |
| Crate Size | 6KB | 5KB | 3KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •os-id leads with a health score of 49/100, but none of the options score above 80.
- •affinity has the most downloads (1.2M), suggesting wider adoption.
- •affinity is depended on by 134 crates — strongest ecosystem trust.
- •⚠ os-id, affinity have not been updated in over a year.
- •affinity is pre-1.0 — API may change.