about summary refs log tree commit diff
path: root/fun/tvldb/src/cfg.rs
use std::collections::HashSet;

#[derive(Deserialize)]
pub struct Config {
    pub database_url: String,
    pub irc_config_path: String,
    #[serde(default)]
    pub admins: HashSet<String>,
    #[serde(default)]
    pub log_filter: Option<String>,
}