Skip to main content

parse_env_file

Function parse_env_file 

Source
pub fn parse_env_file(text: &str) -> Result<Vec<(String, String)>>
Expand description

Parse a dotenv-style file: KEY=VALUE lines, # comments, optional export , optional single or double quotes around the value. No expansion.