about summary refs log blame commit diff
path: root/fun/paroxysm/src/cfg.rs
blob: 038795a6f11414bf3e12d6aff3a6fd78ec116e4d (plain) (tree)
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>,
}