Function dotenvy::from_filename
source · [−]Expand description
Loads the specified file from the environment’s current directory or its parents in sequence.
Examples
dotenvy::from_filename("custom.env").ok();
It is also possible to do the following, but it is equivalent to using dotenvy::dotenv()
,
which is preferred.
dotenvy::from_filename(".env").ok();