lots of things
changed db storing method from json to message pack remove tui fix progressbar add logging
This commit is contained in:
@@ -7,9 +7,9 @@ edition = "2024"
|
||||
directories.workspace = true
|
||||
color-eyre.workspace = true
|
||||
serde.workspace = true
|
||||
lazy_static.workspace = true
|
||||
ratatui.workspace = true
|
||||
serde_json.workspace = true
|
||||
dashmap.workspace = true
|
||||
lazy_static.workspace = true
|
||||
|
||||
dashmap = { version = "6.1.0", features = ["serde"] }
|
||||
language-tags = { version = "0.3.2", features = ["serde"] }
|
||||
sys-locale = "0.3.2"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use std::path::PathBuf;
|
||||
use ratatui::text::Text;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use crate::db::{RocksColumn, RocksReferences};
|
||||
use super::genre::DLSiteGenre;
|
||||
@@ -50,16 +49,4 @@ impl RocksReferences<DLSiteGenre> for DLSiteManiax {
|
||||
fn get_reference_ids(&self) -> Vec<<DLSiteGenre as RocksColumn>::Id> {
|
||||
self.genre_ids.clone()
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<Text<'_>> for &DLSiteManiax {
|
||||
fn into(self) -> Text<'static> {
|
||||
Text::from(self.rj_num.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
impl Into<Text<'_>> for DLSiteManiax {
|
||||
fn into(self) -> Text<'static> {
|
||||
Text::from(self.rj_num.to_string())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user