chore: move types out of config.rs into config_types.rs (#1054)

`config.rs` is already quite long without these definitions. Since they
have no real dependencies of their own, let's move them to their own
file so `config.rs` can focus on the business logic of loading a config.
This commit is contained in:
Michael Bolin
2025-05-20 11:55:25 -07:00
committed by GitHub
parent d766e845b3
commit 5746561428
7 changed files with 98 additions and 88 deletions

View File

@@ -28,7 +28,7 @@ use tokio::io::AsyncReadExt;
use uuid::Uuid;
use crate::config::Config;
use crate::config::HistoryPersistence;
use crate::config_types::HistoryPersistence;
#[cfg(unix)]
use std::os::unix::fs::OpenOptionsExt;