Update Rust crate chrono to 0.4.27 #72

Merged
kjuulh merged 1 commits from renovate/all into main 2023-08-29 17:09:05 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
chrono dependencies patch 0.4.26 -> 0.4.27

Release Notes

chronotope/chrono

v0.4.27: 0.4.27

Compare Source

This release bumps the MSRV from 1.56 to 1.57. This allows us to take advantage of the panicking in const feature. In this release most methods on NaiveDate and NaiveTime are made const, NaiveDateTime and others will follow in a later release.

Deprecations

Additions

Fixes

Documentation

Internal improvements

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) | dependencies | patch | `0.4.26` -> `0.4.27` | --- ### Release Notes <details> <summary>chronotope/chrono</summary> ### [`v0.4.27`](https://github.com/chronotope/chrono/releases/tag/v0.4.27): 0.4.27 [Compare Source](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.27) This release bumps the MSRV from 1.56 to 1.57. This allows us to take advantage of the panicking in const feature. In this release most methods on `NaiveDate` and `NaiveTime` are made const, `NaiveDateTime` and others will follow in a later release. #### Deprecations - Deprecate `DateTime::{from_local, from_utc}` (https://github.com/chronotope/chrono/pull/1175) #### Additions - Let `DateTime::signed_duration_since` take argument with `Borrow` (https://github.com/chronotope/chrono/pull/1119) - Implement `PartialOrd` for `Month` (https://github.com/chronotope/chrono/pull/999, thanks [@&#8203;Munksgaard](https://github.com/Munksgaard)) - Add `Ord` and `Eq` for types which already derive `PartialOrd` and `PartialEq` (https://github.com/chronotope/chrono/pull/1128, thanks [@&#8203;totikom](https://github.com/totikom)) - implement `FusedIterator` for `NaiveDateDaysIterator` and `NaiveDateWeeksIterator` (https://github.com/chronotope/chrono/pull/1134) - Make `NaiveDateDaysIterator` and `NaiveDateWeeksIterator` public (https://github.com/chronotope/chrono/pull/1134) - Add `FromStr` for `FixedOffset` (https://github.com/chronotope/chrono/pull/1157, thanks [@&#8203;mcronce](https://github.com/mcronce)) - Remove `Tz::Offset: Display` requirement from `DateTime::to_rfc*` (https://github.com/chronotope/chrono/pull/1160) - More flexible offset formatting (not exposed yet) (https://github.com/chronotope/chrono/pull/1160) - Make `StrftimeItems` with `unstable-locales` work without allocating (https://github.com/chronotope/chrono/pull/1152) - Make `NaiveDate::from_ymd_opt` const (https://github.com/chronotope/chrono/pull/1172, thanks [@&#8203;kamadorueda](https://github.com/kamadorueda)) - Implement `Error` trait for `ParseWeekdayError` and `ParseMonthError` (https://github.com/chronotope/chrono/pull/539, thanks [@&#8203;mike-kfed](https://github.com/mike-kfed)) - Make methods on `NaiveTime` const, update MSRV to 1.57 (https://github.com/chronotope/chrono/pull/1080) - Make methods on `NaiveDate` const (https://github.com/chronotope/chrono/pull/1205) - Implement operations for `core::time::Duration` on `DateTime` types (https://github.com/chronotope/chrono/pull/1229) #### Fixes - Ensure `timestamp_nanos` panics on overflow in release builds (https://github.com/chronotope/chrono/pull/1123) - Fix `offset_from_local_datetime` for `wasm_bindgen` (https://github.com/chronotope/chrono/pull/1131) - Parsing: Consider `%s` to be a timestamp in UTC (https://github.com/chronotope/chrono/pull/1136) - Don't panic when formatting with `%#z` (https://github.com/chronotope/chrono/pull/1140, thanks [@&#8203;domodwyer](https://github.com/domodwyer)) - Parsing: allow MINUS SIGN (U+2212) in offset (https://github.com/chronotope/chrono/pull/1087, thanks [@&#8203;jtmoon79](https://github.com/jtmoon79)) - Fix locale formatting for `%c` and `%r` (https://github.com/chronotope/chrono/pull/1165) - Localize decimal point with `unstable-locales` feature (https://github.com/chronotope/chrono/pull/1168) - Fix panic on macOS 10.12 caused by using version 1 of the TZif file format (https://github.com/chronotope/chrono/pull/1201, thanks to help from [@&#8203;jfro](https://github.com/jfro)) - Fix deserialization of negative timestamps (https://github.com/chronotope/chrono/pull/1194) - Do not use `Offset`'s `Debug` impl when serializing `DateTime` (https://github.com/chronotope/chrono/pull/1035) - Allow missing seconds in `NaiveTime::from_str` (https://github.com/chronotope/chrono/pull/1181) - Do not depend on `android-tzdata` if the `clock` feature is not enabled (https://github.com/chronotope/chrono/pull/1220, thanks [@&#8203;AlexTMjugador](https://github.com/AlexTMjugador)) - Small fixes to the RFC 3339 parsers (https://github.com/chronotope/chrono/pull/1145) #### Documentation - Add "Errors" and "Panics" sections to API docs (https://github.com/chronotope/chrono/pull/1120) - Specify licenses in SPDX format (https://github.com/chronotope/chrono/pull/1132, backport of https://github.com/chronotope/chrono/issues/856, thanks [@&#8203;keymandll](https://github.com/keymandll)) - Fix `NaiveTime` doc typo (https://github.com/chronotope/chrono/pull/1146, thanks [@&#8203;zachs18](https://github.com/zachs18)) - Clarify nanosecond formatting specifier doc (https://github.com/chronotope/chrono/pull/1173) - Add warning against combining multiple `Datelike::with_*` (https://github.com/chronotope/chrono/pull/1199) - Fix typo "accepted" (https://github.com/chronotope/chrono/pull/1209) - Add some examples to `Utc::now` and `Local::now` (https://github.com/chronotope/chrono/pull/1192) - Add example to `Weekday::num_days_from_monday` (https://github.com/chronotope/chrono/pull/1193) - Fix some comments and panic messages (https://github.com/chronotope/chrono/pull/1221, thanks [@&#8203;umanwizard](https://github.com/umanwizard)) #### Internal improvements - `DateTime::to_rfc_*` optimizations (https://github.com/chronotope/chrono/pull/1200) - Move all tests into modules, fix clippy warnings (https://github.com/chronotope/chrono/pull/1138) - Offset parsing cleanup (https://github.com/chronotope/chrono/pull/1158) - Factor out formatting to `format/formatting.rs` (https://github.com/chronotope/chrono/pull/1156) - Format refactorings (https://github.com/chronotope/chrono/pull/1198) - Format toml files with taplo (https://github.com/chronotope/chrono/pull/1117, thanks [@&#8203;tottoto](https://github.com/tottoto)) - Stop vendoring `saturating_abs` (https://github.com/chronotope/chrono/pull/1124) - CI: shell set -eux, use bash (https://github.com/chronotope/chrono/pull/1103, thanks [@&#8203;jtmoon79](https://github.com/jtmoon79)) - Fix dead code error when running dateutils test on Windows (https://github.com/chronotope/chrono/pull/1125) - Remove `Makefile` (https://github.com/chronotope/chrono/pull/1133) - CI: Test `wasm-bindgen` feature (https://github.com/chronotope/chrono/pull/1131) - Stop using deprecated methods in parse module (https://github.com/chronotope/chrono/pull/1142) - Add formatting benchmarks (https://github.com/chronotope/chrono/pull/1155) - Feature gate tests instead of methods (https://github.com/chronotope/chrono/pull/1159, https://github.com/chronotope/chrono/pull/1162) - Parallelize `try_verify_against_date_command` (https://github.com/chronotope/chrono/pull/1161) - CI: also run integration tests with `no_std` (https://github.com/chronotope/chrono/pull/1166) - Split ` test_parse ` (https://github.com/chronotope/chrono/pull/1170) - Remove `#![deny(dead_code)]` (https://github.com/chronotope/chrono/pull/1187) - Clippy fixes for Rust 1.71 (https://github.com/chronotope/chrono/pull/1186) - Various small improvements (https://github.com/chronotope/chrono/pull/1191) - Add unit test for uncovered regions (https://github.com/chronotope/chrono/pull/1149, thanks [@&#8203;CXWorks](https://github.com/CXWorks)) - Don't test the same thing twice in `test_date_extreme_offset` (https://github.com/chronotope/chrono/pull/1195) - CI: Add workflow code coverage report and upload (https://github.com/chronotope/chrono/pull/1178, https://github.com/chronotope/chrono/pull/1215, thanks [@&#8203;jtmoon79](https://github.com/jtmoon79)) - CI: fail on warnings in `features-check` (https://github.com/chronotope/chrono/pull/1216) - Switch to windows-bindgen (https://github.com/chronotope/chrono/pull/1202, thanks to help from [@&#8203;MarijnS95](https://github.com/MarijnS95)) 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 2023-08-29 16:47:49 +02:00
Update Rust crate chrono to 0.4.27
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
c07786643a
kjuulh merged commit c07786643a into main 2023-08-29 17:09:05 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/github-status#72
No description provided.