vaticle / dependencies

Bazel dependency declarations for build tools reused across @vaticle repositories (only for @vaticle)
Mozilla Public License 2.0
12 stars 23 forks source link

Update chrono to 0.4.38 to avoid depending on deprecated functionality #538

Closed dmitrii-ubskii closed 1 month ago

dmitrii-ubskii commented 1 month ago

What is the goal of this PR?

A lot of NaiveDateTime methods to do with timestamps have been deprecated since 0.4.35, and recommend to convert the naive date time to UTC first. The replacement APIs were only introduced in 0.4.31. In the interest of future-proofing, we upgrade chrono to the latest available version and use the recommended API.

vaticle-bot commented 1 month ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture