Update sea-orm dependencies to use workspace configuration; add dead code annotations in service error handling and settings service
This commit is contained in:
@@ -15,9 +15,10 @@ pub struct AppState {
|
||||
pub service: Arc<AppService>,
|
||||
}
|
||||
|
||||
pub type ServiceState<T: ?Sized + Send + Sync> = Arc<T>;
|
||||
pub type ServiceState<T> = Arc<T>;
|
||||
|
||||
pub struct AppService {
|
||||
#[allow(dead_code)] // TODO: remove when used
|
||||
pub settings: ServiceState<dyn SettingsStore>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user