Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update rust crate chrono to 0.4.38 (#549)
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [chrono](https://togithub.com/chronotope/chrono) | dev-dependencies | patch | `0.4.37` -> `0.4.38` | --- ### Release Notes <details> <summary>chronotope/chrono (chrono)</summary> ### [`v0.4.38`](https://togithub.com/chronotope/chrono/releases/tag/v0.4.38) [Compare Source](https://togithub.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://togithub.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 ([#​1548](https://togithub.com/chronotope/chrono/issues/1548), thanks [@​workingjubilee](https://togithub.com/workingjubilee)) ##### Additions - Add `Weekday::days_since` ([#​1249](https://togithub.com/chronotope/chrono/issues/1249), based on [#​216](https://togithub.com/chronotope/chrono/issues/216) by [@​clarfonthey](https://togithub.com/clarfonthey)) - Add `TimeDelta::checked_mul` and `TimeDelta::checked_div` ([#​1565](https://togithub.com/chronotope/chrono/issues/1565), thanks [@​Zomtir](https://togithub.com/Zomtir)) ##### Fixes - Return error when rounding with a zero duration ([#​1474](https://togithub.com/chronotope/chrono/issues/1474), thanks [@​Dav1dde](https://togithub.com/Dav1dde)) - Manually implement `Copy` for `DateTime` if offset is `Copy` ([#​1573](https://togithub.com/chronotope/chrono/issues/1573)) ##### Internal - Inline `test_encodable_json` and `test_decodable_json` functions ([#​1550](https://togithub.com/chronotope/chrono/issues/1550)) - CI: Reduce combinations in `cargo hack check` ([#​1553](https://togithub.com/chronotope/chrono/issues/1553)) - Refactor formatting code ([#​1335](https://togithub.com/chronotope/chrono/issues/1335)) - Optimize number formatting ([#​1558](https://togithub.com/chronotope/chrono/issues/1558)) - Only package files needed for building and testing ([#​1554](https://togithub.com/chronotope/chrono/issues/1554)) Thanks to all contributors on behalf of the chrono team, [@​djc](https://togithub.com/djc) and [@​pitdicker](https://togithub.com/pitdicker)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/smartive/zitadel-rust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information