Function parse_dotenv
Source pub fn parse_dotenv(content: &str) -> Result<BTreeMap<String, String>, EnvError>
Expand description
Parses .env text into an ordered key-value map supporting quotes, export, comments, and ${VAR}.
§Arguments
&str - .env document content.
§Returns
Result<BTreeMap<String, String>, EnvError> - Parsed key-value map or syntax error.