aboutsummaryrefslogtreecommitdiff
path: root/src/settings.rs
blob: 0ae11361dc6ebde2819dca77acc43fb6a38d1c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::db::backend::Database;

pub struct Settings {
    pub installed_apps: &'static [&'static crate::apps::AppConfig],
    pub database: Database,
}

impl Default for Settings {
    fn default() -> Self {
        Self {
            installed_apps: &[],
            database: Database::default(),
        }
    }
}