Crate dotenv

Source

Structs§

Dotenv

Enums§

Error

Functions§

from_filename
Create Dotenv from the specified file.
from_path
Create Dotenv from the specified path.
from_read
Create Dotenv from Read.
load
Load the .env file from the current directory or its parents.
var
Get the value for an environment variable.
vars
Return an iterator of (key, value) pairs for all environment variables of the current process. The returned iterator contains a snapshot of the process’s environment variables at the time of invocation. Modifications to environment variables afterwards will not be reflected.

Type Aliases§

Result