dotenv-parser-0.1.0 has been yanked.
dotenv-parser is a minimal crate that exposes an .env
file parser generated
by Pest.
Usage
The API is minimal: this crate exposes a single parse_dotenv
function which
accepts a string reference and returns a
BTreeMap
wrapped in a Result
. The parser handles comments, strings and the export
syntax automatically. This program
use parse_dotenv;
prints