Decision Workspace
thread_map vs state vs rubicon
Side-by-side comparison of Rust crates
43
thread_map
growingv1.0.3
Types that are simple and easy-to-use alternatives to the `std::thread_local` macro.
52
state
growingv0.6.0
A library for safe and effortless global and thread-local state management.
52
rubicon
growingv3.4.9
Deduplicate globals across shared objects to enable a dangerous form of dynamic linking
Core Metrics
| thread_map | state | rubicon | |
|---|---|---|---|
| Health Score | 43 | 52 | 52 |
| Total Downloads | 4.7K | 17.6M | 24.0K |
| 30d Downloads | 0 | 329.4K | 0 |
| Dependents | 0 | 721 | 32 |
| Releases | 7 | 17 | 19 |
| Last Updated | 445d ago | 1145d ago | 664d ago |
| Age | 1y 6m | 9y 6m | 2y |
Health Breakdown
thread_map
Maintenance
7
Quality
15
Community
4
Popularity
4
Documentation
13
state
Maintenance
4
Quality
16
Community
11
Popularity
8
Documentation
13
rubicon
Maintenance
7
Quality
22
Community
8
Popularity
5
Documentation
10
Technical Details
| thread_map | state | rubicon | |
|---|---|---|---|
| Version | 1.0.3 | 0.6.0 | 3.4.9 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 3 |
| Crate Size | 12KB | 30KB | 17KB |
| Features | 0 | 1 | 4 |
| Yanked % | 14.3% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •state leads with a health score of 52/100, but none of the options score above 80.
- •state is depended on by 721 crates — strongest ecosystem trust.
- •⚠ thread_map, state, rubicon have not been updated in over a year.
- •state is pre-1.0 — API may change.