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

  1. default
  2. in path specified in MASSA_CONFIG_PATH environment variable (base_config/config.toml by default)
  3. in path specified in MASSA_CONFIG_OVERRIDE_PATH environment variable (config/config.toml by default)