put include behind feature gate
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
Robin Müller 2023-01-15 20:29:43 +01:00
parent ed850b1df4
commit f1f9f695e5
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -8,8 +8,9 @@ use super::*;
use crate::private::Sealed; use crate::private::Sealed;
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
use alloc::boxed::Box; use alloc::boxed::Box;
use chrono::Datelike; #[cfg(feature = "alloc")]
use core::any::Any; use core::any::Any;
use chrono::Datelike;
use core::fmt::Debug; use core::fmt::Debug;
use core::ops::{Add, AddAssign}; use core::ops::{Add, AddAssign};
use core::time::Duration; use core::time::Duration;