de27b3c1ff
Change-Id: I959b6a1008f1b0ef632c0194adc0f680e7c27d62 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1561 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
12 lines
277 B
Rust
12 lines
277 B
Rust
use serde::Deserialize;
|
|
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>,
|
|
}
|