diff options
Diffstat (limited to 'fun/paroxysm/src/cfg.rs')
-rw-r--r-- | fun/paroxysm/src/cfg.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fun/paroxysm/src/cfg.rs b/fun/paroxysm/src/cfg.rs new file mode 100644 index 000000000000..038795a6f114 --- /dev/null +++ b/fun/paroxysm/src/cfg.rs @@ -0,0 +1,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>, +} |