1 //! Differential formats for serde.
2 
3 // Types with guaranteed stable serde representations.
4 //
5 // This allows for the ability to change the internal structure of a type while
6 // maintaining backwards compatibility.
7 //
8 // Strings are avoided where possible to allow for optimal representations in
9 // various binary forms.
10 
11 #![allow(clippy::missing_docs_in_private_items)]
12 
13 // OffsetDateTime is in the primitive_date_time module.
14 
15 mod date;
16 mod duration;
17 mod primitive_date_time;
18 mod sign;
19 mod time;
20 pub mod timestamp;
21 mod utc_offset;
22 mod weekday;
23 
24 pub(crate) use self::time::Time;
25 pub(crate) use date::Date;
26 pub(crate) use duration::Duration;
27 pub(crate) use primitive_date_time::PrimitiveDateTime;
28 #[allow(deprecated)]
29 pub(crate) use sign::Sign;
30 pub(crate) use utc_offset::UtcOffset;
31 pub(crate) use weekday::Weekday;
32