chronotope/chrono (chrono)
### [`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)!
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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 Mend Renovate. View repository job log here.
This PR contains the following updates:
0.4.37
->0.4.38
Release Notes
chronotope/chrono (chrono)
### [`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)!Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.