#[derive(Debug, Deserialize)]
pub struct Settings {
+ pub setup: Option<Setup>,
pub database: Database,
pub hostname: String,
pub bind: IpAddr,
pub federation_enabled: bool,
}
+#[derive(Debug, Deserialize)]
+pub struct Setup {
+ pub admin_username: String,
+ pub admin_password: String,
+ pub admin_email: Option<String>,
+ pub site_name: String,
+}
+
#[derive(Debug, Deserialize)]
pub struct RateLimitConfig {
pub message: i32,