Re-export "chrono" feature from mysql_common
lucypero opened this issue · 3 comments
lucypero commented
It would be great. We have to add mysql_common
to our deps just to have the chrono
feature, and that causes version syncing issues.
amokio commented
@blackbeam i believe he is talking mysql_async is not supporting chrono feature flag. The current workaround is to install mysql_common with chrono feature.
Can you support the chrono feature flag in mysql_async as well
leontoeides commented
I could not get chrono working.
- Added
mysql_async
to my crate - Added
mysql_common
to my crate, with thechrono
feature - Matched my crate's
chrono
version with themysql_common
version ofchrono
Rust is still giving errors that it can't find the trait to convert a NaiveDateTime
to a Value
or vice-versa.
Any suggestions?