This PR updates the rust-driver dependency to 0.14.
There were some minor API breaking changes such as renaming SerializeCql to SerializeValue.
The most troublesome matter were paging changes in rust driver. We needed to adjust cpp-rust-driver to new paging API introduced in rust-driver:
change paging state type from Bytes to PagingState
contain a PagingStateResponse in CassResult instead of Bytes.
handle disabling paging on a cpp-rust-driver layer. The Query/PreparedStatement::disable_paging() methods were removed. As a replacement, query/execute_single_page and query/execute_unpaged session methods were introduced. We needed to adjust the cpp-rust-driver to this change by introducing a paging_enabled flag in CassStatement.
Pre-review checklist
[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[x] PR description sums up the changes and reasons why they should be introduced.
~[ ] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.~
~[ ] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.~
This PR updates the rust-driver dependency to 0.14.
There were some minor API breaking changes such as renaming
SerializeCql
toSerializeValue
.The most troublesome matter were paging changes in rust driver. We needed to adjust cpp-rust-driver to new paging API introduced in rust-driver:
Bytes
toPagingState
PagingStateResponse
inCassResult
instead ofBytes
.Query/PreparedStatement::disable_paging()
methods were removed. As a replacement,query/execute_single_page
andquery/execute_unpaged
session methods were introduced. We needed to adjust the cpp-rust-driver to this change by introducing apaging_enabled
flag inCassStatement
.Pre-review checklist
.github/workflows/build.yml
ingtest_filter
.~.github/workflows/cassandra.yml
ingtest_filter
.~