Skip to main content

load

Function load 

Source
pub fn load() -> Result<Settings, ConfigError>
Expand description

Load Settings from optional siderite.toml, SIDERITE_ environment variables, and the DATABASE_URL / ADDR aliases.

ยงErrors

Returns ConfigError::Extract when the merged configuration cannot be deserialized.