Remove toml store

This commit is contained in:
Lennart
2024-06-21 18:01:41 +02:00
parent 0994c484d1
commit 9c703673fa
4 changed files with 1 additions and 126 deletions

View File

@@ -7,11 +7,6 @@ pub struct HttpConfig {
pub port: u16,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct TomlCalendarStoreConfig {
pub db_path: String,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct SqliteCalendarStoreConfig {
pub db_url: String,
@@ -20,7 +15,6 @@ pub struct SqliteCalendarStoreConfig {
#[derive(Debug, Deserialize, Serialize)]
#[serde(tag = "backend", rename_all = "snake_case")]
pub enum CalendarStoreConfig {
Toml(TomlCalendarStoreConfig),
Sqlite(SqliteCalendarStoreConfig),
}