Expand description
Layered configuration loading for Aro applications.
Before loading, dotenvy::dotenv() reads a .env file into the process
environment (non-fatal if missing). Config crate sources, lowest to highest:
- File:
config/{environment}.toml(environment fromARO_ENV, default"development") - Environment variables with prefix
APP_(separator__)
Enums§
- Config
Error - Represents all possible errors that can occur when working with configuration.
Functions§
- load_
config - Load configuration into
Tusing layered sources.