blackbeam/mysql_async

Re-export "chrono" feature from mysql_common

lucypero opened this issue · 3 comments

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.

@lucypero, hi. What do you mean by "version syncing issues"?

@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

I could not get chrono working.

  • Added mysql_async to my crate
  • Added mysql_common to my crate, with the chrono feature
  • Matched my crate's chrono version with the mysql_common version of chrono

Rust is still giving errors that it can't find the trait to convert a NaiveDateTime to a Value or vice-versa.

Any suggestions?