Closed jorendorff closed 6 months ago
Thanks for raising this issue! This is a good catch. I will update the Cargo.toml to better specify the dependency of chrono. Will aim to release it in 0.5.1 within next week.
I released v0.5.1 which uses chrono 0.4.27 which contains DateTime::from_naive_utc_and_offset. Let me know if this release works well for you.
This is inconvenient for me to test again, since I already updated. But thanks!
I had an existing project using
prost-wkt
0.4 withchrono
0.4.24. When I updated toprost-wkt
0.5, the build broke becauseDateTime::from_naive_utc_and_offset
is not in that version ofchrono
. The fix for my project wascargo update -p chrono
, but this will bite others too.I think the right fix is to change
Cargo.toml
to insist on a version ofchrono
that is recent enough to use.chrono = "0.4.31"
would select the version that's current right now.