Skip to content

Commit

Permalink
RUST-1714 Use serde traits when only serde_with-3 is enabled (cross…
Browse files Browse the repository at this point in the history
  • Loading branch information
maximdeclercq authored Aug 3, 2023
1 parent c278f6c commit a87ed8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use time::format_description::well_known::Rfc3339;
#[cfg(feature = "chrono-0_4")]
use chrono::{LocalResult, TimeZone, Utc};
#[cfg(all(
feature = "serde_with",
any(feature = "serde_with", feature = "serde_with-3"),
any(feature = "chrono-0_4", feature = "time-0_3")
))]
use serde::{Deserialize, Deserializer, Serialize};
Expand Down

0 comments on commit a87ed8f

Please sign in to comment.