From 85f494fce679a5162a2567161afe8d07483907b9 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Mon, 12 Jun 2023 11:22:16 +0000 Subject: [PATCH] Update Rust crate chrono to 0.4.26 (#1909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [chrono](https://github.com/chronotope/chrono) | dependencies | patch | `0.4.24` -> `0.4.26` | --- ### Release Notes
chronotope/chrono ### [`v0.4.26`](https://github.com/chronotope/chrono/releases/tag/v0.4.26): 0.4.26 [Compare Source](https://github.com/chronotope/chrono/compare/v0.4.25...v0.4.26) The changes from [#​807](https://github.com/chronotope/chrono/issues/807) we merged for 0.4.25 unfortunately restricted parsing in a way that was incompatible with earlier 0.4.x releases. We reverted this in [#​1113](https://github.com/chronotope/chrono/issues/1113). A small amount of other changes were merged since. - Update README ([#​1111](https://github.com/chronotope/chrono/issues/1111), thanks to [@​pitdicker](https://github.com/pitdicker)) - Revert backport of [#​807](https://github.com/chronotope/chrono/issues/807) ([#​1113](https://github.com/chronotope/chrono/issues/1113), thanks to [@​pitdicker](https://github.com/pitdicker)) - Update to 2021 edition ([#​1109](https://github.com/chronotope/chrono/issues/1109), thanks to [@​tottoto](https://github.com/tottoto)) - Fix `DurationRound` panics from issue [#​1010](https://github.com/chronotope/chrono/issues/1010) ([#​1093](https://github.com/chronotope/chrono/issues/1093), thanks to [@​pitdicker](https://github.com/pitdicker)) - tests: date path consolidate (branch 0.4.x) ([#​1090](https://github.com/chronotope/chrono/issues/1090), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - Parse tests nanosecond bare dot (branch 0.4.x) ([#​1098](https://github.com/chronotope/chrono/issues/1098), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - yamllint cleanup lint.yml test.yml ([#​1102](https://github.com/chronotope/chrono/issues/1102), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - Remove num-iter dependency ([#​1107](https://github.com/chronotope/chrono/issues/1107), thanks to [@​tottoto](https://github.com/tottoto)) Thanks on behalf of the chrono team ([@​djc](https://github.com/djc) and [@​esheppa](https://github.com/esheppa)) to all contributors! ### [`v0.4.25`](https://github.com/chronotope/chrono/releases/tag/v0.4.25): 0.4.25 [Compare Source](https://github.com/chronotope/chrono/compare/v0.4.24...v0.4.25) Time for another maintenance release. This release bumps the MSRV to 1.56; given MSRV bumps in chrono's dependencies (notably for syn 2), we felt that it no longer made sense to support any older versions. Feedback welcome in our issue tracker! ##### Additions - Bump the MSRV to 1.56 ([#​1053](https://github.com/chronotope/chrono/issues/1053)) - Apply comments from MSRV bump ([#​1026](https://github.com/chronotope/chrono/issues/1026), thanks to [@​pitdicker](https://github.com/pitdicker)) - Remove num-integer dependency ([#​1037](https://github.com/chronotope/chrono/issues/1037), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add `NaiveDateTime::and_utc()` method ([#​952](https://github.com/chronotope/chrono/issues/952), thanks to [@​klnusbaum](https://github.com/klnusbaum)) - derive `Hash` for most pub types that also derive `PartialEq` ([#​938](https://github.com/chronotope/chrono/issues/938), thanks to [@​bruceg](https://github.com/bruceg)) - Add `parse_and_remainder()` methods ([#​1011](https://github.com/chronotope/chrono/issues/1011), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add `DateTime::fix_offset()` ([#​1030](https://github.com/chronotope/chrono/issues/1030), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add `#[track_caller]` to `LocalResult::unwrap` ([#​1046](https://github.com/chronotope/chrono/issues/1046), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add `#[must_use]` to some methods ([#​1007](https://github.com/chronotope/chrono/issues/1007), thanks to [@​aceArt-GmbH](https://github.com/aceArt-GmbH)) - Implement `PartialOrd` for `Month` ([#​999](https://github.com/chronotope/chrono/issues/999), thanks to [@​Munksgaard](https://github.com/Munksgaard)) - Add `impl From for NaiveDate` ([#​1012](https://github.com/chronotope/chrono/issues/1012), thanks to [@​pezcore](https://github.com/pezcore)) - Extract timezone info from tzdata file on Android ([#​978](https://github.com/chronotope/chrono/issues/978), thanks to [@​RumovZ](https://github.com/RumovZ)) ##### Fixes - Prevent string slicing inside char boundaries ([#​1024](https://github.com/chronotope/chrono/issues/1024), thanks to [@​pitdicker](https://github.com/pitdicker)) - fix IsoWeek so that its flags are always correct ([#​991](https://github.com/chronotope/chrono/issues/991), thanks to [@​moshevds](https://github.com/moshevds)) - Fix out-of-range panic in `NaiveWeek::last_day` ([#​1070](https://github.com/chronotope/chrono/issues/1070), thanks to [@​pitdicker](https://github.com/pitdicker)) - Use correct offset in conversion from `Local` to `FixedOffset` ([#​1041](https://github.com/chronotope/chrono/issues/1041), thanks to [@​pitdicker](https://github.com/pitdicker)) - Fix military timezones in RFC 2822 parsing ([#​1013](https://github.com/chronotope/chrono/issues/1013), thanks to [@​pitdicker](https://github.com/pitdicker)) - Guard against overflow in NaiveDate::with_\*0 methods ([#​1023](https://github.com/chronotope/chrono/issues/1023), thanks to [@​pitdicker](https://github.com/pitdicker)) - Fix panic in from_num_days_from_ce_opt ([#​1052](https://github.com/chronotope/chrono/issues/1052), thanks to [@​pitdicker](https://github.com/pitdicker)) ##### Refactoring - Rely on std for getting local time offset ([#​1072](https://github.com/chronotope/chrono/issues/1072), thanks to [@​pitdicker](https://github.com/pitdicker)) - Make functions in internals const ([#​1043](https://github.com/chronotope/chrono/issues/1043), thanks to [@​pitdicker](https://github.com/pitdicker)) - Refactor windows module in `Local` ([#​992](https://github.com/chronotope/chrono/issues/992), thanks to [@​nekevss](https://github.com/nekevss)) - Simplify from_timestamp_millis, from_timestamp_micros ([#​1032](https://github.com/chronotope/chrono/issues/1032), thanks to [@​pitdicker](https://github.com/pitdicker)) - Backport [#​983](https://github.com/chronotope/chrono/issues/983) and [#​1000](https://github.com/chronotope/chrono/issues/1000) ([#​1063](https://github.com/chronotope/chrono/issues/1063), thanks to [@​pitdicker](https://github.com/pitdicker)) ##### Documentation - Backport documentation improvements ([#​1066](https://github.com/chronotope/chrono/issues/1066), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add documentation for %Z quirk ([#​1051](https://github.com/chronotope/chrono/issues/1051), thanks to [@​campbellcole](https://github.com/campbellcole)) - Add an example to Weekday ([#​1019](https://github.com/chronotope/chrono/issues/1019), thanks to [@​pitdicker](https://github.com/pitdicker)) ##### Internal improvements - Gate test on `clock` feature ([#​1061](https://github.com/chronotope/chrono/issues/1061), thanks to [@​pitdicker](https://github.com/pitdicker)) - CI: Also run tests with `--no-default-features` ([#​1059](https://github.com/chronotope/chrono/issues/1059), thanks to [@​pitdicker](https://github.com/pitdicker)) - Prevent `bench_year_flags_from_year` from being optimized out ([#​1034](https://github.com/chronotope/chrono/issues/1034), thanks to [@​pitdicker](https://github.com/pitdicker)) - Fix test_leap_second during DST transition ([#​1064](https://github.com/chronotope/chrono/issues/1064), thanks to [@​pitdicker](https://github.com/pitdicker)) - Fix warnings when running tests on Windows ([#​1038](https://github.com/chronotope/chrono/issues/1038), thanks to [@​pitdicker](https://github.com/pitdicker)) - Fix tests on AIX ([#​1028](https://github.com/chronotope/chrono/issues/1028), thanks to [@​ecnelises](https://github.com/ecnelises)) - Fix doctest warnings, remove mention of deprecated methods from main doc ([#​1081](https://github.com/chronotope/chrono/issues/1081), thanks to [@​pitdicker](https://github.com/pitdicker)) - Reformat `test_datetime_parse_from_str` ([#​1078](https://github.com/chronotope/chrono/issues/1078), thanks to [@​pitdicker](https://github.com/pitdicker)) - GitHub yml shell `set -eux`, use bash ([#​1103](https://github.com/chronotope/chrono/issues/1103), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - test: explicitly set `LANG` to `c` in gnu `date` ([#​1089](https://github.com/chronotope/chrono/issues/1089), thanks to [@​scarf005](https://github.com/scarf005)) - Switch test to `TryFrom` ([#​1086](https://github.com/chronotope/chrono/issues/1086), thanks to [@​pitdicker](https://github.com/pitdicker)) - Add test for issue 551 ([#​1020](https://github.com/chronotope/chrono/issues/1020), thanks to [@​pitdicker](https://github.com/pitdicker)) - RFC 2822 single-letter obsolete tests ([#​1014](https://github.com/chronotope/chrono/issues/1014), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - \[CI] Lint Windows target and documentation links ([#​1062](https://github.com/chronotope/chrono/issues/1062), thanks to [@​pitdicker](https://github.com/pitdicker)) - add test_issue\_866 ([#​1077](https://github.com/chronotope/chrono/issues/1077), thanks to [@​jtmoon79](https://github.com/jtmoon79)) - Remove AUTHORS metadata ([#​1074](https://github.com/chronotope/chrono/issues/1074)) On behalf of [@​djc](https://github.com/djc) and [@​esheppa](https://github.com/esheppa), thanks to all contributors!
--- ### 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 this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: cabr2-bot Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1909 Reviewed-by: crapStone Co-authored-by: Calciumdibromid Bot Co-committed-by: Calciumdibromid Bot --- crates/load_save/Cargo.toml | 2 +- crates/logger/Cargo.toml | 2 +- crates/search/Cargo.toml | 2 +- crates/types/Cargo.toml | 2 +- frontend/src-wasm/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index df3b3951..655b0b49 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" [dependencies] async-trait = "0.1.68" -chrono = { version = "0.4.24", default-features = false, optional = true } +chrono = { version = "0.4.26", default-features = false, optional = true } handlebars = { version = "4.3.7", optional = true } lazy_static = "1.4.0" log = "0.4.19" diff --git a/crates/logger/Cargo.toml b/crates/logger/Cargo.toml index 86744902..cd6f3fbe 100644 --- a/crates/logger/Cargo.toml +++ b/crates/logger/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -chrono = { version = "0.4.24", default-features = false } +chrono = { version = "0.4.26", default-features = false } fern = "0.6.2" log = "0.4.19" diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index 3c18f515..7f718abc 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" [dependencies] async-trait = "0.1.68" cfg-if = "1.0.0" -chrono = { version = "0.4.24", default-feature = false } +chrono = { version = "0.4.26", default-feature = false } env_logger = { version = "0.10.0", optional = true } futures = { version = "0.3.28", optional = true } lazy_static = "1.4.0" diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 2adcb0c8..316fdd3f 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [dependencies] cfg-if = { version = "1.0.0", optional = true } -chrono = { version = "0.4.24", features = ["serde"] } +chrono = { version = "0.4.26", features = ["serde"] } log = "0.4.19" serde = { version = "1.0.162", features = ["derive"] } tokio = { version = "1.28.1", features = ["sync"], default-features = false, optional = true } diff --git a/frontend/src-wasm/Cargo.toml b/frontend/src-wasm/Cargo.toml index 6373eec3..d007a742 100644 --- a/frontend/src-wasm/Cargo.toml +++ b/frontend/src-wasm/Cargo.toml @@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] cfg-if = "1.0.0" -chrono = { version = "0.4.24", features = ["wasmbind"] } +chrono = { version = "0.4.26", features = ["wasmbind"] } console_error_panic_hook = { version = "0.1.7", optional = true } console_log = { version = "1.0.0", features = ["color"] } js-sys = "=0.3.63"