Skip to content

Commit ba8505c

Browse files
committed
Fix unused import errors
We do validation using `--no-default-features` which triggers these Signed-off-by: John Eckersberg <[email protected]>
1 parent 151e870 commit ba8505c

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)