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

Like dotenv, but returns an iterator over variables instead of loading into environment.

Examples

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