refactor: remove loco-rs deps
This commit is contained in:
3
apps/recorder/src/cache/config.rs
vendored
3
apps/recorder/src/cache/config.rs
vendored
@@ -1 +1,4 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct CacheConfig {}
|
||||
|
||||
9
apps/recorder/src/cache/service.rs
vendored
9
apps/recorder/src/cache/service.rs
vendored
@@ -1 +1,10 @@
|
||||
use super::CacheConfig;
|
||||
use crate::errors::RResult;
|
||||
|
||||
pub struct CacheService {}
|
||||
|
||||
impl CacheService {
|
||||
pub async fn from_config(_config: CacheConfig) -> RResult<Self> {
|
||||
Ok(Self {})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user