lots of things

changed db storing method from json to message pack
remove tui
fix progressbar
add logging
This commit is contained in:
William
2026-01-08 22:15:45 +08:00
parent 743261ce4f
commit eb9dcd15e8
23 changed files with 100 additions and 896 deletions

View File

@@ -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"

View File

@@ -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())
}
}