From c3f4e03f3377c1e62e7b84a77747a81b037417f4 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Sat, 16 Aug 2025 12:22:59 -0300 Subject: [PATCH] refactor: remove unused fields and functions Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/args.rs | 4 ++-- src/config.rs | 2 +- src/modes/server/common.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/args.rs b/src/args.rs index 00132fb..b1b78ce 100644 --- a/src/args.rs +++ b/src/args.rs @@ -174,8 +174,8 @@ impl FromStr for NumberOrString { */ #[derive(Debug, Clone)] pub struct KeyValue { - pub(crate) key: String, - pub(crate) value: String, + pub key: String, + pub value: String, } impl FromStr for KeyValue { diff --git a/src/config.rs b/src/config.rs index f17eb1c..7d79d10 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,7 +37,7 @@ pub struct Settings { pub list_format: Vec, pub human_readable: bool, pub output_format: Option, - pub verbose: u8, + pub(crate) verbose: u8, pub quiet: bool, pub force: bool, pub server: Option, diff --git a/src/modes/server/common.rs b/src/modes/server/common.rs index 0ab5fe8..f22a804 100644 --- a/src/modes/server/common.rs +++ b/src/modes/server/common.rs @@ -28,8 +28,8 @@ pub struct ServerConfig { pub struct AppState { pub db: Arc>, pub data_dir: PathBuf, - pub(crate) password: Option, - pub(crate) password_hash: Option, + pub password: Option, + pub password_hash: Option, } #[derive(Serialize, Deserialize, ToSchema)]