Skip to content

Commit 2084e0e

Browse files
chore(deps): update rust crate chrono to 0.4.38 (#549)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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 ([#&#8203;1548](https://togithub.com/chronotope/chrono/issues/1548), thanks [@&#8203;workingjubilee](https://togithub.com/workingjubilee)) ##### Additions - Add `Weekday::days_since` ([#&#8203;1249](https://togithub.com/chronotope/chrono/issues/1249), based on [#&#8203;216](https://togithub.com/chronotope/chrono/issues/216) by [@&#8203;clarfonthey](https://togithub.com/clarfonthey)) - Add `TimeDelta::checked_mul` and `TimeDelta::checked_div` ([#&#8203;1565](https://togithub.com/chronotope/chrono/issues/1565), thanks [@&#8203;Zomtir](https://togithub.com/Zomtir)) ##### Fixes - Return error when rounding with a zero duration ([#&#8203;1474](https://togithub.com/chronotope/chrono/issues/1474), thanks [@&#8203;Dav1dde](https://togithub.com/Dav1dde)) - Manually implement `Copy` for `DateTime` if offset is `Copy` ([#&#8203;1573](https://togithub.com/chronotope/chrono/issues/1573)) ##### Internal - Inline `test_encodable_json` and `test_decodable_json` functions ([#&#8203;1550](https://togithub.com/chronotope/chrono/issues/1550)) - CI: Reduce combinations in `cargo hack check` ([#&#8203;1553](https://togithub.com/chronotope/chrono/issues/1553)) - Refactor formatting code ([#&#8203;1335](https://togithub.com/chronotope/chrono/issues/1335)) - Optimize number formatting ([#&#8203;1558](https://togithub.com/chronotope/chrono/issues/1558)) - Only package files needed for building and testing ([#&#8203;1554](https://togithub.com/chronotope/chrono/issues/1554)) Thanks to all contributors on behalf of the chrono team, [@&#8203;djc](https://togithub.com/djc) and [@&#8203;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>
1 parent 9bd8202 commit 2084e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ tonic = { version = "0.11", features = [
8585
tonic-types = { version = "0.11", optional = true }
8686

8787
[dev-dependencies]
88-
chrono = "0.4.37"
88+
chrono = "0.4.38"
8989
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
9090
tower = { version = "0.4.13" }
9191

0 commit comments

Comments
 (0)