+use regex::Regex;
use serde::Deserialize;
use std::net::{IpAddr, Ipv4Addr};
pub additional_slurs: Option<String>,
#[default(20)]
pub actor_name_max_length: usize,
+ #[default(None)]
+ #[serde(skip)]
+ pub webfinger_community_regex: Option<Regex>,
+ #[default(None)]
+ #[serde(skip)]
+ pub webfinger_username_regex: Option<Regex>,
}
#[derive(Debug, Deserialize, Clone, SmartDefault)]