Skip to content

sqlx::types::time::OffsetDateTime vs. time::OffsetDateTime #1832

Answered by abonander
SSeanin asked this question in Q&A
Discussion options

You must be logged in to vote

This is unfortunately just bad diagnostics on rustc's part. What it means that the version of time in your dependencies is different from that in SQLx's dependencies, and so the different paths don't unify.

If you're using time = "0.3" then you need to upgrade to SQLx 0.6.0

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abonander
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants