Skip to content

Commit 3604dbb

Browse files
authored
Merge pull request #908 from jeckersb/unused-imports
Fix unused import errors
2 parents 151e870 + ba8505c commit 3604dbb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/src/utils.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ use std::process::Command;
55
use std::time::Duration;
66

77
use anyhow::{Context, Result};
8+
#[cfg(feature = "install")]
89
use camino::Utf8Path;
10+
use cap_std_ext::cap_std::fs::Dir;
11+
#[cfg(feature = "install")]
912
use cap_std_ext::dirext::CapStdExtDirExt;
10-
use cap_std_ext::{cap_std::fs::Dir, prelude::CapStdExtCommandExt};
13+
#[cfg(feature = "install")]
14+
use cap_std_ext::prelude::CapStdExtCommandExt;
15+
#[cfg(feature = "install")]
1116
use fn_error_context::context;
1217
use indicatif::HumanDuration;
1318
use libsystemd::logging::journal_print;

0 commit comments

Comments
 (0)