pub fn load_config<T>() -> Result<T, ConfigError>where
T: DeserializeOwned,Expand description
Load configuration into T using layered sources.
Before loading, dotenvy::dotenv() reads a .env file into the process
environment (non-fatal if missing). Config crate sources, lowest to highest:
config/{env}.tomlwhereenvis read fromARO_ENV(default:"development")- Environment variables with prefix
APP_(separator__)