Decision Workspace
dotenv-compat vs dotenv vs dotenv-ng
Side-by-side comparison of Rust crates
49
dotenv-compat
experimentalv0.4.0
Bug-for-bug compatible Rust port of the JavaScript dotenv parser
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-compat | dotenv | dotenv-ng | |
|---|---|---|---|
| Health Score | 49 | 54 | 53 |
| Total Downloads | 891 | 63.9M | 17.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 20.0K | 17 |
| Releases | 5 | 21 | 1 |
| Last Updated | 73d ago | 2545d ago | 55d ago |
| Age | 2m | 11y 10m | 1m |
Health Breakdown
dotenv-compat
Maintenance
15
Quality
13
Community
5
Popularity
4
Documentation
12
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-compat | dotenv | dotenv-ng | |
|---|---|---|---|
| Version | 0.4.0 | 0.15.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 2 | 4 |
| Crate Size | 67KB | 12KB | 11KB |
| Features | 0 | 1 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | 1.85 | — | 1.74.0 |
| Owners | 1 | 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 has not been updated in over a year.
- •dotenv-compat, dotenv are pre-1.0 — API may change.