AlexPikalov / cdrs

Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async
Apache License 2.0
343 stars 58 forks source link

IntoRustByName using deprecated time::Timespec #343

Open jumbojets opened 4 years ago

jumbojets commented 4 years ago

This is great software--helping out my project a ton!

I noticed that the only time struct supported by IntoRustByName is time::Timespec. However, since 0.2.0, Timespec has been deprecated in the time crate. Are there plans to update this? Let me know if I am missing something!

Thanks!

AlexPikalov commented 4 years ago

To be honest, this is first time I hear about Timespec deprecation. But of course in this case we must to look for an alternative. If you already have some ideas feel free to submit a PR.

Thanks for this issue, @jamesetaylor3