Releases: Blobfolio/utc2k
Releases · Blobfolio/utc2k
v0.4.1
Added
FmtUtc2k::year
Utc2k::parse_time_str
- impl
Hash
forMonth
- impl
Hash
forWeekday
Misc
- Clean up parsing helpers;
- Improve string parsing performance;
- Improve
to_rfc2822
performance;
v0.4.0
Fixed
- Mistaken compiler optimizations can lead to overflow.
Removed
Weekday::as_u8
v0.3.4
Fixed
FmtUtc2k::to_rfc2822
andUtc2k::to_rfc2822
now zero-pads days
v0.3.3
Added
- New enum:
utc2k::Month
FmtUtc2k::eq::<&str>
FmtUtc2k::eq::<&String>
FmtUtc2k::eq::<String>
FmtUtc2k::to_rfc2822
Utc2k::from::<FmtUtc2k>
Utc2k::from_rfc2822
Utc2k::month_enum
Utc2k::to_rfc2822
Weekday::add::<u8>
..Weekday::add::<u64>
and correspondingAddAssign
sWeekday::eq::<u8>
..Weekday::eq::<u64>
Weekday::from::<u8>
..Weekday::from::<u64>
Weekday::now
Weekday::sub::<u8>
..Weekday::sub::<u64>
and correspondingSubAssign
sWeekday::tomorrow
Weekday::try_from::<&str>
Weekday::try_from::<String>
Weekday::yesterday
Changed
- Performance optimizations for
Utc2k::sub::<u32>
Weekday
is now represented as au8
Deprecated
Weekday::as_u8
v0.3.2
Changes:
- Added
Utc2k::to_rfc3339
- Added
FmtUtc2k::to_rfc3339
v0.3.1
Changes:
- Replace dev-dependency
chrono
withtime
v0.3.0
Changed
- Use Rust edition 2021.
v0.2.7
Changes:
- New
Utc2k::TryFrom<&OsStr>
; - New
FmtUtc2k::TryFrom<&OsStr>
;
v0.2.6
Changes:
- Drop serde-derive dependency when using serde feature;
FmtUtc2k::as_str
is now const;
v0.2.5
Changes:
- Timestamp deserialization is now prioritized over datetime;