Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> BTreeMap<String, String>
Expand description

Parse dotenv syntax.

Supports KEY=value, export KEY=value, # comments, single quotes (literal), double quotes (with \n, \t, \", \\ escapes and multi-line values) and inline comments after unquoted values.