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;