Decision Workspace
format_env vs const_env vs const_env_impl
Side-by-side comparison of Rust crates
42
format_env
growingv1.0.1
Substitutes environment variables into a string literal at compile time
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
| format_env | const_env | const_env_impl | |
|---|---|---|---|
| Health Score | 42 | 54 | 49 |
| Total Downloads | 3.0K | 320.2K | 321.2K |
| 30d Downloads | 5 | 12.1K | 12.1K |
| Dependents | 0 | 153 | 5 |
| Releases | 2 | 5 | 6 |
| Last Updated | 1960d ago | 128d ago | 128d ago |
| Age | 5y 4m | 6y 5m | 6y 5m |
Health Breakdown
format_env
Maintenance
3
Quality
20
Community
6
Popularity
4
Documentation
9
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
| format_env | const_env | const_env_impl | |
|---|---|---|---|
| Version | 1.0.1 | 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 | 2KB | 8KB | 9KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 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.
- •⚠ format_env has not been updated in over a year.
- •const_env, const_env_impl are pre-1.0 — API may change.