Function dotenvy::from_filename_iter
source · [−]Expand description
Returns an iterator over environment variables from the specified file.
Examples
for item in dotenvy::from_filename_iter("custom.env").unwrap() {
let (key, val) = item.unwrap();
println!("{key}={val}");
}