From ccd20c118e68032d4fff7e324b1353968bc93d26 Mon Sep 17 00:00:00 2001 From: Kyle Bloom Date: Tue, 31 Jan 2023 17:58:09 +0000 Subject: [PATCH] fix: Unused import with time feature --- src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.rs b/src/types.rs index 72873675..e07721af 100644 --- a/src/types.rs +++ b/src/types.rs @@ -7,6 +7,7 @@ use std::convert::{TryFrom, TryInto}; target_arch = "powerpc" )))] use std::sync::atomic; +#[cfg(not(feature = "time"))] use std::time::SystemTime; #[cfg(doc)] use {crate::read::ZipFile, crate::write::FileOptions};