From 4b288fd22f826990dfd614ce6bc05baeda59651c Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Thu, 18 Apr 2024 20:49:50 +0100 Subject: [PATCH] chore: remove default database backend has been sqlite for far too long, and having a default for this is just asking for trouble --- src/config/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index 4605855f..ff05754d 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -21,7 +21,6 @@ pub struct Config { pub tls: Option, pub server_name: OwnedServerName, - #[serde(default = "default_database_backend")] pub database_backend: String, pub database_path: String, #[serde(default = "default_db_cache_capacity_mb")] @@ -223,10 +222,6 @@ fn default_port() -> u16 { 8000 } -fn default_database_backend() -> String { - "sqlite".to_owned() -} - fn default_db_cache_capacity_mb() -> f64 { 300.0 }