This commit is contained in:
JMARyA 2024-03-07 16:44:54 +01:00
parent bb8a125ff1
commit 34ebab3d63
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 3 additions and 0 deletions

View file

@ -2,12 +2,14 @@ use std::path::PathBuf;
use serde::{Deserialize, Serialize};
/// General settings for hoard
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct HoardConfig {
// Top level data download directory
pub data_dir: PathBuf,
}
/// Top level global config
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GlobalConfig {
// Hoard Configuration

View file

@ -9,6 +9,7 @@ use serde::{Deserialize, Serialize};
use crate::{ensure_dir_exists, Module};
/// Configuration for the YouTube Module
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct YouTubeConfig {
// Interval in minutes between checks