Decision Workspace
set_env vs const_env vs const_env_impl
Side-by-side comparison of Rust crates
52
set_env
growingv1.3.4
Sets environment variables permanently across all major platforms
54
const_env
growingv0.1.5
Configure const and static items by environment variables.
49
const_env_impl
growingv0.1.5
Configure const and static items by environment variables.
Core Metrics
| set_env | const_env | const_env_impl | |
|---|---|---|---|
| Health Score | 52 | 54 | 49 |
| Total Downloads | 279.9K | 320.2K | 321.2K |
| 30d Downloads | 31.4K | 11.8K | 11.8K |
| Dependents | 17 | 153 | 5 |
| Releases | 13 | 5 | 6 |
| Last Updated | 1385d ago | 128d ago | 128d ago |
| Age | 3y 11m | 6y 5m | 6y 5m |
Health Breakdown
set_env
Maintenance
6
Quality
20
Community
6
Popularity
7
Documentation
13
const_env
Maintenance
9
Quality
16
Community
12
Popularity
7
Documentation
10
const_env_impl
Maintenance
9
Quality
15
Community
8
Popularity
7
Documentation
10
Technical Details
| set_env | const_env | const_env_impl | |
|---|---|---|---|
| Version | 1.3.4 | 0.1.5 | 0.1.5 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | CC0-1.0 | CC0-1.0 |
| Dependencies | 1 | 1 | 3 |
| Crate Size | 6KB | 8KB | 9KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •const_env leads with a health score of 54/100, but none of the options score above 80.
- •const_env_impl has the most downloads (321.2K), suggesting wider adoption.
- •const_env is depended on by 153 crates — strongest ecosystem trust.
- •⚠ set_env has not been updated in over a year.
- •const_env, const_env_impl are pre-1.0 — API may change.