refactor: make unused fields and functions private

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-16 12:23:20 -03:00
parent c3f4e03f33
commit 3de5947d42
3 changed files with 5 additions and 5 deletions

View File

@@ -174,8 +174,8 @@ impl FromStr for NumberOrString {
*/
#[derive(Debug, Clone)]
pub struct KeyValue {
pub key: String,
pub value: String,
pub(crate) key: String,
pub(crate) value: String,
}
impl FromStr for KeyValue {

View File

@@ -37,7 +37,7 @@ pub struct Settings {
pub list_format: Vec<ColumnConfig>,
pub human_readable: bool,
pub output_format: Option<String>,
pub(crate) verbose: u8,
pub verbose: u8,
pub quiet: bool,
pub force: bool,
pub server: Option<ServerConfig>,

View File

@@ -28,8 +28,8 @@ pub struct ServerConfig {
pub struct AppState {
pub db: Arc<Mutex<rusqlite::Connection>>,
pub data_dir: PathBuf,
pub password: Option<String>,
pub password_hash: Option<String>,
pub(crate) password: Option<String>,
pub(crate) password_hash: Option<String>,
}
#[derive(Serialize, Deserialize, ToSchema)]