chore(deps): update rust crate jiff to v0.2.16 #9175
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.15->0.2.160.2.15->0.2.16Release Notes
BurntSushi/jiff (jiff)
v0.2.16Compare Source
===================
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
TZstrings or invalidstrptimeformat strings.Also, parsing into a
Spanshould now be much faster (for both the ISO 8601and "friendly" duration formats).
Enhancements:
Add Serde helpers for (de)serializing
std::time::Durationvalues.Add
SubandAddtrait implementations forZoned(in addition to thealready existing trait implementations for
&Zoned).Add
BrokenDownTime::set_meridiemand ensure it overrides the hour whenformatting.
Switch dependency on
serdetoserde_core. This should help speed upcompilation times in some cases.
Add new
Zoned::seriesAPI, making it consistent with the same API on otherdatetime types.
When
lenientmode is enabled forstrftime, Jiff will no longer error whenthe formatting string contains invalid UTF-8.
Formatting of
%yand%gno longer fails based on the specific year value.Parsing of
%sis now a bit more consistent with other fields. Moreover,BrokenDownTime::{to_timestamp,to_zoned}will now prefer timestamps parsedwith
%sover any other fields that have been parsed.Allow parsing just a
%sinto aZonedvia theEtc/Unknowntime zone.Bug fixes:
Fix a bug where
2087-12-31T23:00:00Zin theAfrica/Casablancatime zonecould not be round-tripped (because its offset was calculated incorrectly as
a result of not handling "permanent DST" POSIX time zones).
Fix a panic that occurred when parsing an empty string as a POSIX time zone.
Fix a panic that could occur when parsing
%:viastrptimeAPIs.Update some parts of the documentation to indicate that
TimeZone::unknown()is a fallback for
TimeZone::system()(instead of thejiff 0.1behavior ofusing
TimeZone::UTC).Fix a panicking bug when reading malformed TZif data.
Fix a panicking bug when parsing century (
%C) viastrptime.Fixed bugs with parsing durations like
-9223372036854775808sand
-PT9223372036854775808S.Performance:
Parsing into
SpanorSignedDurationis now a fair bit faster in some cases.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.