From 1fc350463b2ad689c7fed2a3f41cfde22eccd3ce Mon Sep 17 00:00:00 2001 From: lucalise Date: Tue, 3 Feb 2026 21:05:10 -0800 Subject: [PATCH] fix: remove unused imports --- src/main.rs | 2 +- src/reporter.rs | 2 +- src/storage/fs.rs | 10 ++-------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/main.rs b/src/main.rs index 70c114a..fc83578 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,7 @@ mod error; mod reporter; mod storage; -use std::{ops::Deref, sync::Arc, time::Duration}; +use std::{ops::Deref, sync::Arc}; use clap::{CommandFactory, Parser, Subcommand}; use indicatif::MultiProgress; diff --git a/src/reporter.rs b/src/reporter.rs index dd61351..7b7df0a 100644 --- a/src/reporter.rs +++ b/src/reporter.rs @@ -1,4 +1,4 @@ -use std::{borrow::Cow, time::Duration}; +use std::borrow::Cow; use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; diff --git a/src/storage/fs.rs b/src/storage/fs.rs index a2dabd8..41b617f 100644 --- a/src/storage/fs.rs +++ b/src/storage/fs.rs @@ -1,17 +1,11 @@ -use std::fs::DirEntry; -use std::io::{self, BufWriter}; -use std::path::{self, Path}; +use std::io::{self}; use std::{fs, path::PathBuf}; -use flate2::{Compression, write::GzEncoder}; -use tar::Builder; -use walkdir::WalkDir; - use crate::Data; use crate::archive::create_archive; use crate::error::{Error, Result}; use crate::reporter::Reporter; -use crate::storage::{IGNORE_FILES, StorageImpl, base_path_prism}; +use crate::storage::StorageImpl; pub struct FSStorage;