affinity
v0.1.2 GrowingProvides a consistent way to set core affinity for currently running threads and processes
Quick Verdict
- โNot updated for 4+ years
- !Pre-1.0: API may have breaking changes
- โTrusted by 134 crates
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
53.0K downloads in the last 30 days (1.8K/day). Volume is roughly flat compared to the previous period.
134 crates depend on affinity. Reasonable ecosystem adoption, though not yet a core dependency.
Despite being 5+ years old, affinity hasn't reached 1.0 yet. Expect potential API changes between versions.
At 5KB, affinity is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include agave-thread-manager, switchyard, av1an-core, employees, scx_tickless. When high-quality crates choose affinity, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on affinity