From 7c1c5bd9c93d6059c81775f499f1d4642143481c Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Sun, 10 Aug 2025 11:34:44 -0300 Subject: [PATCH] fix: resolve compilation errors by adding missing ErrorKind import and removing unused imports Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) --- src/main.rs | 2 +- src/modes/common.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index cd2576f..d076cde 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,7 @@ use std::path::PathBuf; use anyhow::{Context, Error, Result, anyhow}; use clap::*; +use clap::error::ErrorKind; use log::*; mod modes; @@ -11,7 +12,6 @@ use directories::ProjectDirs; extern crate prettytable; use std::str::FromStr; -use serde::{Deserialize, Serialize}; extern crate lazy_static; diff --git a/src/modes/common.rs b/src/modes/common.rs index 442c458..07a818f 100644 --- a/src/modes/common.rs +++ b/src/modes/common.rs @@ -3,7 +3,6 @@ use crate::compression_engine::CompressionType; use crate::meta_plugin::MetaPluginType; use clap::Command; use clap::error::ErrorKind; -use humansize::{BINARY, FormatSizeOptions}; use log::debug; use prettytable::format::TableFormat; use regex::Regex;