chore(deps): update rust crate chrono to 0.4.38 #7

Merged
kjuulh merged 1 commits from renovate/all into main 2024-04-15 12:54:15 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
chrono workspace.dependencies patch 0.4.37 -> 0.4.38

Release Notes

chronotope/chrono

v0.4.38

Compare Source

This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.

Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.

In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.

Removals

Additions

Fixes

  • Return error when rounding with a zero duration (#​1474, thanks @​Dav1dde)
  • Manually implement Copy for DateTime if offset is Copy (#​1573)

Internal

  • Inline test_encodable_json and test_decodable_json functions (#​1550)
  • CI: Reduce combinations in cargo hack check (#​1553)
  • Refactor formatting code (#​1335)
  • Optimize number formatting (#​1558)
  • Only package files needed for building and testing (#​1554)

Thanks to all contributors on behalf of the chrono team, @​djc and @​pitdicker!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [chrono](https://github.com/chronotope/chrono) | workspace.dependencies | patch | `0.4.37` -> `0.4.38` | --- ### Release Notes <details> <summary>chronotope/chrono</summary> ### [`v0.4.38`](https://github.com/chronotope/chrono/releases/tag/v0.4.38) [Compare Source](https://github.com/chronotope/chrono/compare/v0.4.37...v0.4.38) This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient `days_since` method for the `Weekday` type. Chrono 0.4.38 also removes the long deprecated `rustc-serialize` feature. Support for `rustc-serialize` will be [soft-destabilized in the next Rust edition](https://github.com/rust-lang/rust/pull/116016). Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono. In chrono 0.4.36 we made an accidental breaking change by switching to `derive(Copy)` for `DateTime` instead of a manual implementation. It is reverted in this release. ### Removals - Remove `rustc-serialize` feature ([#&#8203;1548](https://github.com/chronotope/chrono/issues/1548), thanks [@&#8203;workingjubilee](https://github.com/workingjubilee)) ### Additions - Add `Weekday::days_since` ([#&#8203;1249](https://github.com/chronotope/chrono/issues/1249), based on [#&#8203;216](https://github.com/chronotope/chrono/issues/216) by [@&#8203;clarfonthey](https://github.com/clarfonthey)) - Add `TimeDelta::checked_mul` and `TimeDelta::checked_div` ([#&#8203;1565](https://github.com/chronotope/chrono/issues/1565), thanks [@&#8203;Zomtir](https://github.com/Zomtir)) ### Fixes - Return error when rounding with a zero duration ([#&#8203;1474](https://github.com/chronotope/chrono/issues/1474), thanks [@&#8203;Dav1dde](https://github.com/Dav1dde)) - Manually implement `Copy` for `DateTime` if offset is `Copy` ([#&#8203;1573](https://github.com/chronotope/chrono/issues/1573)) ### Internal - Inline `test_encodable_json` and `test_decodable_json` functions ([#&#8203;1550](https://github.com/chronotope/chrono/issues/1550)) - CI: Reduce combinations in `cargo hack check` ([#&#8203;1553](https://github.com/chronotope/chrono/issues/1553)) - Refactor formatting code ([#&#8203;1335](https://github.com/chronotope/chrono/issues/1335)) - Optimize number formatting ([#&#8203;1558](https://github.com/chronotope/chrono/issues/1558)) - Only package files needed for building and testing ([#&#8203;1554](https://github.com/chronotope/chrono/issues/1554)) Thanks to all contributors on behalf of the chrono team, [@&#8203;djc](https://github.com/djc) and [@&#8203;pitdicker](https://github.com/pitdicker)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh added 1 commit 2024-04-15 12:11:51 +02:00
chore(deps): update rust crate chrono to 0.4.38
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
e40a4dd701
kjuulh merged commit e40a4dd701 into main 2024-04-15 12:54:15 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/como-web#7
No description provided.