pub fn dotenv() -> Result<PathBuf>
Loads the .env file from the current directory or parents. This is typically what you want.
An error will be returned if the file is not found.
dotenvy::dotenv().unwrap();