Struct dotenv_build::Config [−][src]
pub struct Config<'a> {
pub filename: &'a Path,
pub recursive_search: bool,
pub fail_if_missing_dotenv: bool,
}
Expand description
Config for output
Fields
filename: &'a Path
The filename that is getting read for the environment variables. Defaults to .env
recursive_search: bool
This specifies if we should search for the file recursively upwards in the file tree.
Defaults to true
.
fail_if_missing_dotenv: bool
This specifies if we should return an error if we don’t find the file. Defaults to false
.