Skip to content

Releases: Blobfolio/utc2k

v0.4.1

20 Mar 19:40
Compare
Choose a tag to compare

Added

  • FmtUtc2k::year
  • Utc2k::parse_time_str
  • impl Hash for Month
  • impl Hash for Weekday

Misc

  • Clean up parsing helpers;
  • Improve string parsing performance;
  • Improve to_rfc2822 performance;

v0.4.0

04 Mar 06:05
Compare
Choose a tag to compare

Fixed

  • Mistaken compiler optimizations can lead to overflow.

Removed

  • Weekday::as_u8

v0.3.4

16 Feb 05:11
Compare
Choose a tag to compare

Fixed

  • FmtUtc2k::to_rfc2822 and Utc2k::to_rfc2822 now zero-pads days

v0.3.3

06 Jan 21:04
Compare
Choose a tag to compare

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 corresponding AddAssigns
  • Weekday::eq::<u8>..Weekday::eq::<u64>
  • Weekday::from::<u8>..Weekday::from::<u64>
  • Weekday::now
  • Weekday::sub::<u8>..Weekday::sub::<u64> and corresponding SubAssigns
  • Weekday::tomorrow
  • Weekday::try_from::<&str>
  • Weekday::try_from::<String>
  • Weekday::yesterday

Changed

  • Performance optimizations for Utc2k::sub::<u32>
  • Weekday is now represented as a u8

Deprecated

  • Weekday::as_u8

v0.3.2

13 Dec 20:27
Compare
Choose a tag to compare

Changes:

  • Added Utc2k::to_rfc3339
  • Added FmtUtc2k::to_rfc3339

v0.3.1

27 Nov 09:05
Compare
Choose a tag to compare

Changes:

  • Replace dev-dependency chrono with time

v0.3.0

21 Oct 19:14
Compare
Choose a tag to compare

Changed

  • Use Rust edition 2021.

v0.2.7

12 Sep 02:59
Compare
Choose a tag to compare

Changes:

  • New Utc2k::TryFrom<&OsStr>;
  • New FmtUtc2k::TryFrom<&OsStr>;

v0.2.6

09 Sep 19:26
Compare
Choose a tag to compare

Changes:

  • Drop serde-derive dependency when using serde feature;
  • FmtUtc2k::as_str is now const;

v0.2.5

03 Sep 20:43
Compare
Choose a tag to compare

Changes:

  • Timestamp deserialization is now prioritized over datetime;