refactor: remove unused imports in src/main.rs and src/modes/common.rs
This commit is contained in:
@@ -4,14 +4,12 @@ use std::fs;
|
||||
use std::str::FromStr;
|
||||
use std::path::PathBuf;
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::os::fd::FromRawFd;
|
||||
use std::process::Stdio; // For Stdio::null, Stdio::piped
|
||||
use nix::fcntl::{FdFlag};
|
||||
use nix::unistd::{close, pipe};
|
||||
use nix::Error as NixError;
|
||||
|
||||
use regex::Regex;
|
||||
|
||||
use anyhow::{Context, Result, Error, anyhow};
|
||||
use rusqlite::Connection;
|
||||
@@ -46,7 +44,6 @@ pub mod db;
|
||||
use compression::CompressionType;
|
||||
use compression::program::CompressionEngineProgram;
|
||||
|
||||
use humansize::BINARY;
|
||||
|
||||
use is_terminal::IsTerminal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user