load_dotenv

Function load_dotenv 

Source
pub fn load_dotenv() -> Result<()>
Expand description

Load environment variables from .env file

This function attempts to load environment variables from a .env file in the current directory. It logs a warning if the file exists but cannot be loaded, but doesn’t fail if the file doesn’t exist.