Skip to main content

read_settings

Function read_settings 

Source
pub fn read_settings(settings_path: &Path) -> Settings
Expand description

Read both settings from a settings.json file. Each key keeps its default unless it holds a bool; a missing or unreadable file yields the defaults.