The original C++ driver does not support compression, so new APIs are introduced. CassCompressionType enum is added with values CASS_COMPRESSION_LZ4 and CASS_COMPRESSION_SNAPPY, those are the only compression algorithms that Rust driver supports currently.
Added cass_cluster_set_compression that sets the preferred compression type in the SessionBuilder object of the cluster.
Fixes #91
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.
The original C++ driver does not support compression, so new APIs are introduced.
CassCompressionType
enum is added with valuesCASS_COMPRESSION_LZ4
andCASS_COMPRESSION_SNAPPY
, those are the only compression algorithms that Rust driver supports currently.Added
cass_cluster_set_compression
that sets the preferred compression type in the SessionBuilder object of the cluster.Fixes #91
Pre-review checklist
.github/workflows/build.yml
ingtest_filter
..github/workflows/cassandra.yml
ingtest_filter
.