Skip to content

Commit

Permalink
release: 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Jul 25, 2024
2 parents 51891e1 + e32ce5e commit 0239717
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
RUSTFLAGS: "-D warnings"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msrv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
RUSTFLAGS: "-D warnings"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@



## [0.8.1](https://github.com/Blobfolio/utc2k/releases/tag/v0.8.1) - 2024-07-25

### Changed

* Miscellaneous code lints



## [0.8.0](https://github.com/Blobfolio/utc2k/releases/tag/v0.8.0) - 2024-02-08

### Removed
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.8.0
Generated: 2024-02-08 18:47:42 UTC
Version: 0.8.1
Generated: 2024-07-25 17:27:43 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.8.0"
version = "0.8.1"
authors = ["Blobfolio, LLC. <hello@blobfolio.com>"]
edition = "2021"
rust-version = "1.70"
Expand Down
1 change: 1 addition & 0 deletions src/month.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ macro_rules! impl_int {
}

impl From<$ty> for Month {
#[allow(clippy::cast_possible_truncation)]
fn from(src: $ty) -> Self {
if src <= 12 { Self::from_u8(src as u8) }
else { Self::from_u8((src % 12) as u8) }
Expand Down
1 change: 1 addition & 0 deletions src/weekday.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ macro_rules! impl_int {
}

impl From<$ty> for Weekday {
#[allow(clippy::cast_possible_truncation)]
fn from(src: $ty) -> Self {
if src <= 7 { Self::from(src as u8) }
else { Self::from((src % 7) as u8) }
Expand Down

0 comments on commit 0239717

Please sign in to comment.