use std::path::PathBuf;

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
#[serde(default)]
pub struct MainSettings {
    pub source_directories: Vec<PathBuf>,
    pub multithreading: bool,
}

impl Default for MainSettings {
    fn default() -> Self {
        Self {
            source_directories: Vec::default(),
            multithreading: true,
        }
    }
}
