Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump verrsion of chrono dependency #807

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Conversation

Lorak-mmk
Copy link
Collaborator

@Lorak-mmk Lorak-mmk commented Sep 7, 2023

In scylla-cql/src/frame/response/cql_to_rust.rs we use DateTime::<Utc>::from_naive_utc_and_offset but it was introduced in chrono 0.4.27. This PR bumps this dependency to correct version.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

In scylla-cql/src/frame/response/cql_to_rust.rs we use
`DateTime::<Utc>::from_naive_utc_and_offset` but it was introduced
in chrono 0.4.27. This commits bumps this dependency to correct version.
Copy link
Collaborator

@piodul piodul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Apparently, there is a flag in cargo that allows to resolve minimal versions of the dependencies (https://doc.rust-lang.org/cargo/reference/unstable.html?highlight=minimal-versions#minimal-versions) but, due to the fact that many crates in the ecosystem don't specify correct minimal versions, it's not available on stable. Maybe if the situation improves we can consider this as a CI check in the future.

@piodul piodul merged commit cabb6f1 into scylladb:main Sep 8, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants