Create files for configuration

This commit is contained in:
Philip Kristoffersen
2021-09-24 23:08:35 +02:00
parent 517cf87d87
commit 60dd680c33
8 changed files with 221 additions and 7 deletions
+2
View File
@@ -0,0 +1,2 @@
mod settings;
pub use settings::*;
+16
View File
@@ -0,0 +1,16 @@
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct SteamGridDb {
pub enabled: bool,
pub auth_key: Option<String>,
}
impl Default for SteamGridDb {
fn default() -> Self {
Self {
enabled: true,
auth_key: None,
}
}
}