aboutsummaryrefslogtreecommitdiff
path: root/src/settings.rs
diff options
context:
space:
mode:
authorMelody Horn / boringcactus <melody@boringcactus.com>2021-06-13 16:33:46 -0600
committerMelody Horn / boringcactus <melody@boringcactus.com>2021-06-13 16:33:46 -0600
commit311b49a2fdd97b8b870dbaccccb55058ee0207c8 (patch)
tree1ca431733526cac1c7c2f7f1bfda7324ae088d50 /src/settings.rs
parentcc7d316e588c21de1023d6a76d4ea5e7b893977a (diff)
downloadtosin-311b49a2fdd97b8b870dbaccccb55058ee0207c8.tar.gz
tosin-311b49a2fdd97b8b870dbaccccb55058ee0207c8.zip
lay groundwork for models
Diffstat (limited to 'src/settings.rs')
-rw-r--r--src/settings.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings.rs b/src/settings.rs
index 9d29cfe..9d34c0d 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -1,10 +1,13 @@
pub struct Settings {
+ pub installed_apps: &'static [&'static crate::apps::AppConfig],
+ pub database_url: &'static str,
}
impl Default for Settings {
fn default() -> Self {
Self {
-
+ installed_apps: &[],
+ database_url: "",
}
}
}