From d8ccf89193bd63c3d8fbe9bca3b411c2af071d11 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:22:32 +0100 Subject: [PATCH] Update Rust crate jiff to v0.2.16 (#16658) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [jiff](https://redirect.github.com/BurntSushi/jiff) | workspace.dependencies | patch | `0.2.15` -> `0.2.16` | --- ### Release Notes
BurntSushi/jiff (jiff) ### [`v0.2.16`](https://redirect.github.com/BurntSushi/jiff/blob/HEAD/CHANGELOG.md#0216-2025-11-07) [Compare Source](https://redirect.github.com/BurntSushi/jiff/compare/0.2.15...0.2.16) \=================== This release contains a number of enhancements and bug fixes that have accrued over the last few months. Most are small polishes. A couple of the bug fixes apply to panics that could occur when parsing invalid `TZ` strings or invalid `strptime` format strings. Also, parsing into a `Span` should now be much faster (for both the ISO 8601 and "friendly" duration formats). Enhancements: - [#​298](https://redirect.github.com/BurntSushi/jiff/issues/298): Add Serde helpers for (de)serializing `std::time::Duration` values. - [#​396](https://redirect.github.com/BurntSushi/jiff/issues/396): Add `Sub` and `Add` trait implementations for `Zoned` (in addition to the already existing trait implementations for `&Zoned`). - [#​397](https://redirect.github.com/BurntSushi/jiff/pull/397): Add `BrokenDownTime::set_meridiem` and ensure it overrides the hour when formatting. - [#​409](https://redirect.github.com/BurntSushi/jiff/pull/409): Switch dependency on `serde` to `serde_core`. This should help speed up compilation times in some cases. - [#​430](https://redirect.github.com/BurntSushi/jiff/pull/430): Add new `Zoned::series` API, making it consistent with the same API on other datetime types. - [#​432](https://redirect.github.com/BurntSushi/jiff/pull/432): When `lenient` mode is enabled for `strftime`, Jiff will no longer error when the formatting string contains invalid UTF-8. - [#​432](https://redirect.github.com/BurntSushi/jiff/pull/432): Formatting of `%y` and `%g` no longer fails based on the specific year value. - [#​432](https://redirect.github.com/BurntSushi/jiff/pull/432): Parsing of `%s` is now a bit more consistent with other fields. Moreover, `BrokenDownTime::{to_timestamp,to_zoned}` will now prefer timestamps parsed with `%s` over any other fields that have been parsed. - [#​433](https://redirect.github.com/BurntSushi/jiff/pull/433): Allow parsing just a `%s` into a `Zoned` via the `Etc/Unknown` time zone. Bug fixes: - [#​386](https://redirect.github.com/BurntSushi/jiff/issues/386): Fix a bug where `2087-12-31T23:00:00Z` in the `Africa/Casablanca` time zone could not be round-tripped (because its offset was calculated incorrectly as a result of not handling "permanent DST" POSIX time zones). - [#​407](https://redirect.github.com/BurntSushi/jiff/issues/407): Fix a panic that occurred when parsing an empty string as a POSIX time zone. - [#​410](https://redirect.github.com/BurntSushi/jiff/issues/410): Fix a panic that could occur when parsing `%:` via `strptime` APIs. - [#​414](https://redirect.github.com/BurntSushi/jiff/pull/414): Update some parts of the documentation to indicate that `TimeZone::unknown()` is a fallback for `TimeZone::system()` (instead of the `jiff 0.1` behavior of using `TimeZone::UTC`). - [#​423](https://redirect.github.com/BurntSushi/jiff/issues/423): Fix a panicking bug when reading malformed TZif data. - [#​426](https://redirect.github.com/BurntSushi/jiff/issues/426): Fix a panicking bug when parsing century (`%C`) via `strptime`. - [#​445](https://redirect.github.com/BurntSushi/jiff/pull/445): Fixed bugs with parsing durations like `-9223372036854775808s` and `-PT9223372036854775808S`. Performance: - [#​445](https://redirect.github.com/BurntSushi/jiff/pull/445): Parsing into `Span` or `SignedDuration` is now a fair bit faster in some cases.
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/uv). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0345601d7..cd6207f0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -831,7 +831,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -1148,7 +1148,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -1316,7 +1316,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -2149,7 +2149,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -2209,24 +2209,24 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jiff" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" dependencies = [ "jiff-static", "jiff-tzdb-platform", "log", "portable-atomic", "portable-atomic-util", - "serde", - "windows-sys 0.59.0", + "serde_core", + "windows-sys 0.52.0", ] [[package]] name = "jiff-static" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" dependencies = [ "proc-macro2", "quote", @@ -3223,7 +3223,7 @@ dependencies = [ "once_cell", "socket2 0.5.10", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -3793,7 +3793,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -3806,7 +3806,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.9.4", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -4486,7 +4486,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix 1.0.8", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -7084,7 +7084,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]]