v0.11 introduced a breaking change in how scylla::frame::value's are represented, most importantly around timestamps. Previously the timestamp was constructed from a duration, but now it takes an actual timestamp. In the old version, Duration::seconds(0) was used as the default, but now we have to provide a timestamp. I'm a little but uncertain what is equivalent, but I believe chrono::Utc::now is what we intent to store.
Previously we were on a fixed rev due to unreleased pull-requests (https://github.com/scylladb/scylla-rust-driver/pull/838, https://github.com/scylladb/scylla-rust-driver/pull/898), but since these are now released we can pin to a crates.io version!
v0.11 introduced a breaking change in how
scylla::frame::value
's are represented, most importantly around timestamps. Previously the timestamp was constructed from a duration, but now it takes an actual timestamp. In the old version,Duration::seconds(0)
was used as the default, but now we have to provide a timestamp. I'm a little but uncertain what is equivalent, but I believechrono::Utc::now
is what we intent to store.