dotenvy

Function dotenv_iter

source
pub fn dotenv_iter() -> Result<Iter<File>>
Expand description

Returns an iterator over environment variables.

ยงExamples

for item in dotenvy::dotenv_iter()? {
    let (key, val) = item?;
    println!("{}={}", key, val);
}