Registry / config / dotenvy

dotenvy

JSON →
library0.15.7rscratesunverified

A well-maintained fork of the dotenv crate.

# Cargo.toml [dependencies] dotenvy = "0.15.7"
INSTALL
IMPORT
SIG · DOTENVY
D
dotenvy
configrustv0.15.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dotenv
use dotenvy::dotenv;

Loads environment variables from a .env file.

use dotenvy::dotenv; if let Ok(path) = dotenv() { println!("Loaded .env from: {:?}", path); }
Debug
Known issues
gotchaOverwrites existing environment variables by default.
fix
Use dotenvy::from_filename_override() to avoid overwriting.
affects: >=0.15.0
Upgrade
Version history
0.15.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
Resources
dotenvy — cargo add dotenvy · libregistry