Decision Workspace
getenv vs config vs envstruct_derive
Side-by-side comparison of Rust crates
58
getenv
growingv0.1.2
Getenv.rs
71
config
growingv0.15.27
Layered configuration system for Rust applications.
64
envstruct_derive
stablev2.0.0
Convert the environment variables into a structured configuration
Core Metrics
| getenv | config | envstruct_derive | |
|---|---|---|---|
| Health Score | 58 | 71 | 64 |
| Total Downloads | 68.6K | 119.7M | 10.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 154 | 19.2K | 15 |
| Releases | 4 | 59 | 15 |
| Last Updated | 505d ago | 10d ago | 4d ago |
| Age | 1y 5m | 11y 5m | 2y 1m |
Health Breakdown
getenv
Maintenance
5
Quality
19
Community
16
Popularity
6
Documentation
12
config
Maintenance
17
Quality
15
Community
19
Popularity
8
Documentation
12
envstruct_derive
Maintenance
19
Quality
19
Community
8
Popularity
5
Documentation
13
Technical Details
| getenv | config | envstruct_derive | |
|---|---|---|---|
| Version | 0.1.2 | 0.15.27 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Unlicense | MIT OR Apache-2.0 | MPL-2.0 |
| Dependencies | 2 | 26 | 4 |
| Crate Size | 7KB | 56KB | 4KB |
| Features | 26 | 10 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.81 | 1.88.0 | — |
| Owners | 2 (team) | 5 (team) | 1 |
Links
Quick Verdict
- •config leads with a health score of 71/100, but none of the options score above 80.
- •config is depended on by 19.2K crates — strongest ecosystem trust.
- •⚠ getenv has not been updated in over a year.
- •getenv, config are pre-1.0 — API may change.