scylladb / cpp-rust-driver

API-compatible rewrite of https://github.com/scylladb/cpp-driver as a wrapper for Rust driver.
GNU Lesser General Public License v2.1
11 stars 11 forks source link

Add support for compression #91

Closed avelanarius closed 1 year ago

avelanarius commented 1 year ago

The bindings should allow for setting compression of a session. The original C++ Driver lacks this functionality, so new APIs should be introduced.

Something like this:

cass_cluster_set_compression(CassCluster* cluster, CassCompression compression_type /* enum */)