Crate rustdotenv

Source
Expand description

A tool to load env files into the environment

§(Pseudo-)Example:

Functions§

load
Checks if an env variables already exists, if it exists it will be skipped
load_if_set
Check if the provided env name equals true like DEV=true, if so it runs the load function with the provided filenames
overload
Overwrites an env variable if it already exists