StractOrg / stract

web search done right
https://stract.com
GNU Affero General Public License v3.0
1.94k stars 43 forks source link

Bump scylla to v0.12.0 #144

Closed oeb25 closed 4 months ago

oeb25 commented 4 months ago

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 believe chrono::Utc::now is what we intent to store.