blob: 76afb9c651a7914a9a82a3f35ad0a26537f2b4f5 (
plain) (
tree)
|
|
use std::collections::HashSet;
use serde_derive::Deserialize; // TODO(tazjin): move away from serde_derive
#[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>,
}
|