Skip to main content

Module dotenv

Module dotenv 

Source
Expand description

Source-preserving dotenv backend.

Structs§

DotenvDocument

Functions§

load
Parse dotenv without shell execution, environment lookup, or variable expansion.
save
dotenv has no whole-document writer: re-rendering from the generic value would lose comments, ordering, and quoting. Format::save therefore refuses; edits go through set_preserving / unset_preserving, which splice only the touched assignment.