-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump chrono from 0.4.22 to 0.4.23 (#750)
* build(deps): bump chrono from 0.4.22 to 0.4.23 Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.22 to 0.4.23. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](chronotope/chrono@v0.4.22...v0.4.23) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * adopt `chrono 0.4.23` The new `chrono` deprecates several methods we were using which would panic if provided invalid inputs. We now instead use `_opt()` versions, which return `Some(thing)` for valid input or `None` otherwise. Mostly this affects test code, so we just `.unwrap()` the option (so this behaves identically to the deprecated methods). THere is one exception in non-test code: `janus_aggregator::messages::TimeExt::as_naive_date_time`. Since that method was only used in a small number of places that are already set up to propagate errors, it now returns `Result<NaiveDateTime, Error>`. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Geoghegan <[email protected]>
- Loading branch information
1 parent
9343429
commit 1e4eca0
Showing
4 changed files
with
51 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters