Decision Workspace
dotenv_codegen vs dotenv vs dotenv-ng
Side-by-side comparison of Rust crates
49
dotenv_codegen
growingv0.15.0
A `dotenv` implementation for Rust
54
dotenv
growingv0.15.0
A `dotenv` implementation for Rust
53
dotenv-ng
experimentalv1.0.0
Load environment variables from .env files
Core Metrics
| dotenv_codegen | dotenv | dotenv-ng | |
|---|---|---|---|
| Health Score | 49 | 54 | 53 |
| Total Downloads | 595.8K | 63.9M | 17.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 197 | 20.0K | 17 |
| Releases | 14 | 21 | 1 |
| Last Updated | 2545d ago | 2545d ago | 55d ago |
| Age | 10y 10m | 11y 10m | 1m |
Health Breakdown
dotenv_codegen
Maintenance
4
Quality
15
Community
14
Popularity
7
Documentation
9
dotenv
Maintenance
4
Quality
16
Community
17
Popularity
8
Documentation
9
dotenv-ng
Maintenance
10
Quality
18
Community
8
Popularity
5
Documentation
12
Technical Details
| dotenv_codegen | dotenv | dotenv-ng | |
|---|---|---|---|
| Version | 0.15.0 | 0.15.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 2 | 4 |
| Crate Size | 1KB | 12KB | 11KB |
| Features | 0 | 1 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.74.0 |
| Owners | 3 (team) | 3 (team) | 1 |
Links
Quick Verdict
- •dotenv leads with a health score of 54/100, but none of the options score above 80.
- •dotenv is depended on by 20.0K crates — strongest ecosystem trust.
- •⚠ dotenv_codegen, dotenv have not been updated in over a year.
- •dotenv_codegen, dotenv are pre-1.0 — API may change.