about summary refs log tree commit diff
path: root/fun/tvldb/src/cfg.rs
blob: 038795a6f11414bf3e12d6aff3a6fd78ec116e4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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>,
}