Decision Workspace
with-thread-local vs globalenv vs globenv
Side-by-side comparison of Rust crates
42
with-thread-local
growingv1.0.0
A micro crate that simplifies a bit the use of the std macro `thread_local!`
44
globalenv
growingv0.4.2
Globally sets environment variables (and not just for the current process). Support for Windows, zsh and bash (MacOS and most Linux distros).
41
globenv
growingv0.2.1
Globally set & read environment variables and paths on Windows, macOS or Linux
Core Metrics
| with-thread-local | globalenv | globenv | |
|---|---|---|---|
| Health Score | 42 | 44 | 41 |
| Total Downloads | 1.6K | 20.8K | 6.4K |
| 30d Downloads | 3 | 290 | 330 |
| Dependents | 0 | 12 | 0 |
| Releases | 1 | 6 | 3 |
| Last Updated | 1171d ago | 1233d ago | 856d ago |
| Age | 3y 2m | 5y 7m | 2y 5m |
Health Breakdown
with-thread-local
Maintenance
1
Quality
20
Community
5
Popularity
4
Documentation
12
globalenv
Maintenance
5
Quality
15
Community
9
Popularity
5
Documentation
10
globenv
Maintenance
5
Quality
15
Community
6
Popularity
5
Documentation
10
Technical Details
| with-thread-local | globalenv | globenv | |
|---|---|---|---|
| Version | 1.0.0 | 0.4.2 | 0.2.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 1 | 1 | 1 |
| Crate Size | 7KB | 4KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •globalenv leads with a health score of 44/100, but none of the options score above 80.
- •⚠ with-thread-local, globalenv, globenv have not been updated in over a year.
- •globalenv, globenv are pre-1.0 — API may change.