Skip to content

Commit

Permalink
release: 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Oct 25, 2024
2 parents 3668681 + be94ccb commit d687fd3
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 85 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@



## [0.11.0](https://github.com/Blobfolio/utc2k/releases/tag/v0.11.0) - 2024-10-25

### New

* `FmtUtc2k::MIN`
* `FmtUtc2k::MAX`
* `Utc2k::MIN`
* `Utc2k::MAX`

### Fixed

* Clamp `utc2k::unixtime` to supported min/max range in case the system clock is the right kind of wrong

### Changed

* Make `Utc2k::cmp_date` const
* Make `Utc2k::cmp_time` const

### Replaced

* `FmtUtc2k::min` (use `FmtUtc2k::MIN` instead)
* `FmtUtc2k::max` (use `FmtUtc2k::MAX` instead)
* `Utc2k::min` (use `Utc2k::MIN` instead)
* `Utc2k::max` (use `Utc2k::MAX` instead)



## [0.10.0](https://github.com/Blobfolio/utc2k/releases/tag/v0.10.0) - 2024-09-14

### Changed
Expand Down
4 changes: 2 additions & 2 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project Dependencies
Package: utc2k
Version: 0.10.0
Generated: 2024-09-15 04:41:51 UTC
Version: 0.11.0
Generated: 2024-10-25 18:12:03 UTC

This package has no dependencies.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utc2k"
version = "0.10.0"
version = "0.11.0"
authors = ["Blobfolio, LLC. <[email protected]>"]
edition = "2021"
rust-version = "1.81"
Expand Down
3 changes: 3 additions & 0 deletions benches/d_utc2k.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ benches!(

Bench::spacer(),

Bench::new("utc2k::Utc2k::to_string()")
.run_seeded(Utc2k::from(Utc2k::MAX_UNIXTIME), |u| u.to_string()),

Bench::new("utc2k::Utc2k::to_rfc2822()")
.run_seeded(Utc2k::from(Utc2k::MAX_UNIXTIME), |u| u.to_rfc2822()),

Expand Down
Loading

0 comments on commit d687fd3

Please sign in to comment.