Decision Workspace
env-flags vs config vs envstruct_derive
Side-by-side comparison of Rust crates
49
env-flags
growingv0.1.1
A convenience macro for declaring environment variables
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
| env-flags | config | envstruct_derive | |
|---|---|---|---|
| Health Score | 49 | 71 | 64 |
| Total Downloads | 5.1M | 119.7M | 10.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 19.2K | 15 |
| Releases | 2 | 59 | 15 |
| Last Updated | 557d ago | 10d ago | 4d ago |
| Age | 2y | 11y 5m | 2y 1m |
Health Breakdown
env-flags
Maintenance
4
Quality
16
Community
6
Popularity
8
Documentation
15
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
| env-flags | config | envstruct_derive | |
|---|---|---|---|
| Version | 0.1.1 | 0.15.27 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MPL-2.0 |
| Dependencies | 0 | 26 | 4 |
| Crate Size | 7KB | 56KB | 4KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.80 | 1.88.0 | — |
| Owners | 1 | 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.
- •⚠ env-flags has not been updated in over a year.
- •env-flags, config are pre-1.0 — API may change.