fix: remove unused imports and dead code
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -5,7 +5,6 @@ use axum::{
|
||||
http::header,
|
||||
};
|
||||
use log::warn;
|
||||
use serde_json::json;
|
||||
use std::collections::HashMap;
|
||||
use std::net::SocketAddr;
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -2,7 +2,7 @@ pub mod item;
|
||||
pub mod status;
|
||||
|
||||
use axum::{
|
||||
routing::{get, post, delete},
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ pub struct AppState {
|
||||
pub db: Arc<Mutex<rusqlite::Connection>>,
|
||||
pub data_dir: PathBuf,
|
||||
pub password: Option<String>,
|
||||
pub args: Arc<Args>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user