Files
deduplicator/src/app.rs
2025-07-07 01:49:36 +00:00

26 lines
431 B
Rust

use anyhow::Result;
use threadpool::ThreadPool;
use crate::pipeline::Server;
use crate::tui::Tui;
pub struct App {
tpool: ThreadPool,
server: Server,
ui: Tui,
}
impl App {
pub fn new() -> Self {
Self {
tpool: ThreadPool::new(8),
server: Server::new().expect("server init failed"),
ui: Tui {},
}
}
pub fn start() -> Result<()> {
Ok(())
}
}