blob: 37a33955167a0a401097c370e213b3ab378312f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
use crate::db::backend::DbBackend;
pub struct Settings {
pub installed_apps: &'static [&'static crate::apps::AppConfig],
pub database: DbBackend,
}
impl Default for Settings {
fn default() -> Self {
Self {
installed_apps: &[],
database: DbBackend::Sqlite {
db_file: "db.sqlite3",
},
}
}
}
|