Crate dotenv_lib

Source

Enums§

FindEnvError

Functions§

find_env
Resursively searches the given and parent directories for a .env file.
process_dot_env
Fully reads and parses a .env file to return a map of non-empty key-value pairs. This function expects a string representation of file contents, so the caller must have previously opened the .env file. For example, given a file Test.env that contains following content as key-value pairs:
serialize_new_env
Serializes a hash map to a file, overwriting it if it already exists.

Type Aliases§

EnvMap
EnvVal
EnvVar