Add settings for EGS and SteamgridDB

This commit is contained in:
Philip Kristoffersen
2021-09-25 00:36:09 +02:00
parent 60dd680c33
commit 99079dcaff
13 changed files with 307 additions and 66 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
mod settings;
pub use settings::*;
pub use settings::SteamGridDbSettings;
+2 -2
View File
@@ -1,12 +1,12 @@
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct SteamGridDb {
pub struct SteamGridDbSettings {
pub enabled: bool,
pub auth_key: Option<String>,
}
impl Default for SteamGridDb {
impl Default for SteamGridDbSettings {
fn default() -> Self {
Self {
enabled: true,