allan2/dotenvy
A well-maintained fork of the dotenv crate observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1647
- days_rel: n/a
- days_push: 16
- n_releases_24m: 0
Adoption not part of the score
1245 stars · 80 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dotenvy is a well-maintained Rust fork of the dotenv crate for loading environment variables from .env files, recommended as the replacement in RUSTSEC-2021-0141. It offers a library API (including a non-environment-modifying loader), compile-time and runtime macros, and a binary that loads an env file before running a command.
Use cases
- load environment variables from a .env file in a Rust app
- replace the unmaintained dotenv crate flagged by RUSTSEC-2021-0141
- parse env files without mutating process environment
- run a command with variables from an env file
- inspect env variables at compile time in Rust
- support variable substitution in env files
When to choose
- you are writing a Rust application or service that reads configuration from .env files
- you need a maintained, secure alternative to the dotenv crate
- you want a CLI to preload env files before executing commands
- you need compile-time env inspection via macros
When to avoid
- your project is not in Rust
- you need full configuration management beyond simple key-value env files (e.g., YAML/TOML configs)
- you rely on the unpublished 0.16 API, which is still subject to change
Facets
library · maturity stable
configuration-management developer-tools cli developer-tools backend rust cross-platform cli dotenv env-file environment-variables rust-crate config-loading command-line
2 sources
- readme: https://github.com/allan2/dotenvy · fetched 2026-08-28 · c5e5d2206f82
- registry_crates: https://crates.io/api/v1/crates/dotenvy · fetched 2026-08-29 · f061549f8765
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| allan2/dotenvy | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem