fix: resolve compilation errors by adding missing ErrorKind import and removing unused imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
@@ -2,6 +2,7 @@ use std::path::PathBuf;
|
|||||||
|
|
||||||
use anyhow::{Context, Error, Result, anyhow};
|
use anyhow::{Context, Error, Result, anyhow};
|
||||||
use clap::*;
|
use clap::*;
|
||||||
|
use clap::error::ErrorKind;
|
||||||
use log::*;
|
use log::*;
|
||||||
mod modes;
|
mod modes;
|
||||||
|
|
||||||
@@ -11,7 +12,6 @@ use directories::ProjectDirs;
|
|||||||
extern crate prettytable;
|
extern crate prettytable;
|
||||||
|
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use serde::{Deserialize, Serialize};
|
|
||||||
|
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ use crate::compression_engine::CompressionType;
|
|||||||
use crate::meta_plugin::MetaPluginType;
|
use crate::meta_plugin::MetaPluginType;
|
||||||
use clap::Command;
|
use clap::Command;
|
||||||
use clap::error::ErrorKind;
|
use clap::error::ErrorKind;
|
||||||
use humansize::{BINARY, FormatSizeOptions};
|
|
||||||
use log::debug;
|
use log::debug;
|
||||||
use prettytable::format::TableFormat;
|
use prettytable::format::TableFormat;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
|
|||||||
Reference in New Issue
Block a user