diff --git a/src/delay.rs b/src/delay.rs index 6534904..d744751 100644 --- a/src/delay.rs +++ b/src/delay.rs @@ -7,7 +7,7 @@ use std::convert::TryFrom; use minidom::Element; -use chrono::prelude::*; +use chrono::{DateTime, FixedOffset}; use error::Error; use jid::Jid; @@ -58,8 +58,9 @@ impl Into for Delay { #[cfg(test)] mod tests { - use std::str::FromStr; use super::*; + use std::str::FromStr; + use chrono::{Datelike, Timelike}; #[test] fn test_simple() { diff --git a/src/idle.rs b/src/idle.rs index ba13bd8..8200966 100644 --- a/src/idle.rs +++ b/src/idle.rs @@ -7,7 +7,7 @@ use std::convert::TryFrom; use minidom::Element; -use chrono::prelude::*; +use chrono::{DateTime, FixedOffset}; use error::Error;