add feature flag to avoid unused imports
This commit is contained in:
parent
9b091e3a3a
commit
30a9cb8c5b
@ -4,6 +4,7 @@
|
||||
//! [chrono::format::DelayedFormat] structs.
|
||||
#[cfg(feature = "alloc")]
|
||||
use chrono::format::{DelayedFormat, StrftimeItems};
|
||||
#[cfg(feature = "alloc")]
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
/// Tuple of format string and formatted size for time code A.
|
||||
|
Loading…
Reference in New Issue
Block a user