Skip to content

Commit

Permalink
Update Rust crate chrono to 0.4.27 (#352)
Browse files Browse the repository at this point in the history
[![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) | dependencies |
patch | `0.4.26` -> `0.4.27` |

---

### Release Notes

<details>
<summary>chronotope/chrono (chrono)</summary>

###
[`v0.4.27`](https://togithub.com/chronotope/chrono/releases/tag/v0.4.27):
0.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}`
([chronotope/chrono#1175)

##### Additions

- Let `DateTime::signed_duration_since` take argument with `Borrow`
([chronotope/chrono#1119)
- Implement `PartialOrd` for `Month`
([chronotope/chrono#999,
thanks [@&#8203;Munksgaard](https://togithub.com/Munksgaard))
- Add `Ord` and `Eq` for types which already derive `PartialOrd` and
`PartialEq`
([chronotope/chrono#1128,
thanks [@&#8203;totikom](https://togithub.com/totikom))
- implement `FusedIterator` for `NaiveDateDaysIterator` and
`NaiveDateWeeksIterator`
([chronotope/chrono#1134)
- Make `NaiveDateDaysIterator` and `NaiveDateWeeksIterator` public
([chronotope/chrono#1134)
- Add `FromStr` for `FixedOffset`
([chronotope/chrono#1157,
thanks [@&#8203;mcronce](https://togithub.com/mcronce))
- Remove `Tz::Offset: Display` requirement from `DateTime::to_rfc*`
([chronotope/chrono#1160)
- More flexible offset formatting (not exposed yet)
([chronotope/chrono#1160)
- Make `StrftimeItems` with `unstable-locales` work without allocating
([chronotope/chrono#1152)
- Make `NaiveDate::from_ymd_opt` const
([chronotope/chrono#1172,
thanks [@&#8203;kamadorueda](https://togithub.com/kamadorueda))
- Implement `Error` trait for `ParseWeekdayError` and `ParseMonthError`
([chronotope/chrono#539,
thanks [@&#8203;mike-kfed](https://togithub.com/mike-kfed))
- Make methods on `NaiveTime` const, update MSRV to 1.57
([chronotope/chrono#1080)
- Make methods on `NaiveDate` const
([chronotope/chrono#1205)
- Implement operations for `core::time::Duration` on `DateTime` types
([chronotope/chrono#1229)

##### Fixes

- Ensure `timestamp_nanos` panics on overflow in release builds
([chronotope/chrono#1123)
- Fix `offset_from_local_datetime` for `wasm_bindgen`
([chronotope/chrono#1131)
- Parsing: Consider `%s` to be a timestamp in UTC
([chronotope/chrono#1136)
- Don't panic when formatting with `%#z`
([chronotope/chrono#1140,
thanks [@&#8203;domodwyer](https://togithub.com/domodwyer))
- Parsing: allow MINUS SIGN (U+2212) in offset
([chronotope/chrono#1087,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- Fix locale formatting for `%c` and `%r`
([chronotope/chrono#1165)
- Localize decimal point with `unstable-locales` feature
([chronotope/chrono#1168)
- Fix panic on macOS 10.12 caused by using version 1 of the TZif file
format
([chronotope/chrono#1201,
thanks to help from [@&#8203;jfro](https://togithub.com/jfro))
- Fix deserialization of negative timestamps
([chronotope/chrono#1194)
- Do not use `Offset`'s `Debug` impl when serializing `DateTime`
([chronotope/chrono#1035)
- Allow missing seconds in `NaiveTime::from_str`
([chronotope/chrono#1181)
- Do not depend on `android-tzdata` if the `clock` feature is not
enabled
([chronotope/chrono#1220,
thanks [@&#8203;AlexTMjugador](https://togithub.com/AlexTMjugador))
- Small fixes to the RFC 3339 parsers
([chronotope/chrono#1145)

##### Documentation

- Add "Errors" and "Panics" sections to API docs
([chronotope/chrono#1120)
- Specify licenses in SPDX format
([chronotope/chrono#1132,
backport of
[chronotope/chrono#856,
thanks [@&#8203;keymandll](https://togithub.com/keymandll))
- Fix `NaiveTime` doc typo
([chronotope/chrono#1146,
thanks [@&#8203;zachs18](https://togithub.com/zachs18))
- Clarify nanosecond formatting specifier doc
([chronotope/chrono#1173)
- Add warning against combining multiple `Datelike::with_*`
([chronotope/chrono#1199)
- Fix typo "accepted"
([chronotope/chrono#1209)
- Add some examples to `Utc::now` and `Local::now`
([chronotope/chrono#1192)
- Add example to `Weekday::num_days_from_monday`
([chronotope/chrono#1193)
- Fix some comments and panic messages
([chronotope/chrono#1221,
thanks [@&#8203;umanwizard](https://togithub.com/umanwizard))

##### Internal improvements

- `DateTime::to_rfc_*` optimizations
([chronotope/chrono#1200)
- Move all tests into modules, fix clippy warnings
([chronotope/chrono#1138)
- Offset parsing cleanup
([chronotope/chrono#1158)
- Factor out formatting to `format/formatting.rs`
([chronotope/chrono#1156)
- Format refactorings
([chronotope/chrono#1198)
- Format toml files with taplo
([chronotope/chrono#1117,
thanks [@&#8203;tottoto](https://togithub.com/tottoto))
- Stop vendoring `saturating_abs`
([chronotope/chrono#1124)
- CI: shell set -eux, use bash
([chronotope/chrono#1103,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- Fix dead code error when running dateutils test on Windows
([chronotope/chrono#1125)
- Remove `Makefile`
([chronotope/chrono#1133)
- CI: Test `wasm-bindgen` feature
([chronotope/chrono#1131)
- Stop using deprecated methods in parse module
([chronotope/chrono#1142)
- Add formatting benchmarks
([chronotope/chrono#1155)
- Feature gate tests instead of methods
([chronotope/chrono#1159,
[chronotope/chrono#1162)
- Parallelize `try_verify_against_date_command`
([chronotope/chrono#1161)
- CI: also run integration tests with `no_std`
([chronotope/chrono#1166)
- Split ` test_parse `
([chronotope/chrono#1170)
- Remove `#![deny(dead_code)]`
([chronotope/chrono#1187)
- Clippy fixes for Rust 1.71
([chronotope/chrono#1186)
- Various small improvements
([chronotope/chrono#1191)
- Add unit test for uncovered regions
([chronotope/chrono#1149,
thanks [@&#8203;CXWorks](https://togithub.com/CXWorks))
- Don't test the same thing twice in `test_date_extreme_offset`
([chronotope/chrono#1195)
- CI: Add workflow code coverage report and upload
([chronotope/chrono#1178,
[chronotope/chrono#1215,
thanks [@&#8203;jtmoon79](https://togithub.com/jtmoon79))
- CI: fail on warnings in `features-check`
([chronotope/chrono#1216)
- Switch to windows-bindgen
([chronotope/chrono#1202,
thanks to help from [@&#8203;MarijnS95](https://togithub.com/MarijnS95))

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 - 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ziyadedher/evm-bench).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Aug 29, 2023
1 parent bd9bd6c commit 12303a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -13,7 +13,7 @@ keywords = ["benchmark", "ethereum", "smart-contracts", "ethereum-contract", "be

[dependencies]
bytes = "1.4.0"
chrono = "0.4.26"
chrono = "0.4.27"
clap = { version = "4.4.1", features = ["derive"] }
env_logger = "0.10.0"
glob = "0.3.1"
Expand Down

0 comments on commit 12303a1

Please sign in to comment.