Decision Workspace
thread_map vs thid vs state
Side-by-side comparison of Rust crates
44
thread_map
growingv1.0.3
Types that are simple and easy-to-use alternatives to the `std::thread_local` macro.
54
thid
experimentalv0.0.3
No-std, no-alloc thread IDs and thread-locals.
52
state
growingv0.6.0
A library for safe and effortless global and thread-local state management.
Core Metrics
| thread_map | thid | state | |
|---|---|---|---|
| Health Score | 44 | 54 | 52 |
| Total Downloads | 4.6K | 1.3K | 15.7M |
| 30d Downloads | 9 | 128 | 480.5K |
| Dependents | 0 | 10 | 708 |
| Releases | 7 | 3 | 17 |
| Last Updated | 337d ago | 125d ago | 1037d ago |
| Age | 1y 2m | 6m | 9y 2m |
Health Breakdown
thread_map
Maintenance
8
Quality
15
Community
4
Popularity
4
Documentation
13
thid
Maintenance
13
Quality
16
Community
8
Popularity
4
Documentation
13
state
Maintenance
4
Quality
16
Community
11
Popularity
8
Documentation
13
Technical Details
| thread_map | thid | state | |
|---|---|---|---|
| Version | 1.0.3 | 0.0.3 | 0.6.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 2 | 2 | 2 |
| Crate Size | 12KB | 10KB | 30KB |
| Features | 0 | 3 | 1 |
| Yanked % | 14.3% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •thid leads with a health score of 54/100, but none of the options score above 80.
- •state has the most downloads (15.7M), suggesting wider adoption.
- •state is depended on by 708 crates — strongest ecosystem trust.
- •⚠ state has not been updated in over a year.
- •thid, state are pre-1.0 — API may change.