Skip to main content

dotenv

Function dotenv 

Source
pub fn dotenv() -> Result<PathBuf, Error>
Expand description

Loads environment variables from a .env file in the current directory. Returns the path to the loaded file on success.