diff --git a/common/src/config.rs b/common/src/config.rs index e6f151a71..c5ee494f1 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -1,16 +1,16 @@ //! Configuration management for the Mono and Mega application //! This module provides functionality to load, parse, and manage configuration settings +use std::rc::Rc; +use std::path::PathBuf; use std::cell::RefCell; use std::collections::HashMap; -use std::path::PathBuf; -use std::rc::Rc; -use c::{ConfigError, FileFormat}; pub use config as c; +use c::{ConfigError, FileFormat}; -use config::builder::DefaultState; use config::{Source, ValueKind}; +use config::builder::DefaultState; use serde::{Deserialize, Deserializer, Serialize}; use callisto::sea_orm_active_enums::StorageTypeEnum; @@ -77,7 +77,7 @@ pub fn mega_cache() -> PathBuf { .unwrap() .to_string() }); - + PathBuf::from(cache_dir) }