Function massa_models::config::massa_settings::build_massa_settings
source ยท pub fn build_massa_settings<T: Deserialize<'static>>(
app_name: &str,
env_prefix: &str,
) -> T
Expand description
Merge the settings
- default
- in path specified in
MASSA_CONFIG_PATH
environment variable (base_config/config.toml
by default) - in path specified in
MASSA_CONFIG_OVERRIDE_PATH
environment variable (config/config.toml
by default)