add missing feature flag
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-12-07 18:41:45 +01:00
parent 8c0b78c698
commit 3d5829b9a8
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -273,6 +273,7 @@ impl TimeReader for CdsShortTimeProvider {
/// See [chrono::DateTime::format] for a usage example of the generated /// See [chrono::DateTime::format] for a usage example of the generated
/// [chrono::format::DelayedFormat] structs. /// [chrono::format::DelayedFormat] structs.
pub mod ascii { pub mod ascii {
#[cfg(feature = "alloc")]
use chrono::format::{DelayedFormat, StrftimeItems}; use chrono::format::{DelayedFormat, StrftimeItems};
use chrono::{DateTime, Utc}; use chrono::{DateTime, Utc};