Skip to main content

load

Function load 

Source
pub fn load(path: impl AsRef<Path>) -> Result<BTreeMap<String, String>>
Expand description

Load a .env file and export every entry into the process environment.

Variables already set in the real environment win, so deployments can override the file without editing it. A missing file is not an error.