From 895d3b867ff318b5866cad7684d26279a45bc114 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Mon, 24 Apr 2023 15:22:48 +0200 Subject: [PATCH] Fix warnings when running tests on Windows --- tests/dateutils.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/dateutils.rs b/tests/dateutils.rs index dec6bfe117..1eb0941011 100644 --- a/tests/dateutils.rs +++ b/tests/dateutils.rs @@ -1,7 +1,11 @@ +#[cfg(unix)] use chrono::offset::TimeZone; +#[cfg(unix)] use chrono::Local; +#[cfg(unix)] use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike}; +#[cfg(unix)] use std::{path, process}; #[cfg(unix)]