[RELEASE] ScyllaDB CDC Rust 0.7.0

The ScyllaDB team is pleased to announce scylla-cdc-rust v0.7.0, a library that makes it easy to develop Rust applications that consume data from a Scylla Change Data Capture Log.

Some interesting statistics:

  • over 13.0k downloads on crates!
  • over 37 GitHub stars!

Changes

New features / enhancements:

  • Made checkpoint table creation in TableBackedCheckpointSaver optional, via a new TableBackedCheckpointSaverBuilder, so the library can be used with a database user that lacks CREATE permission and a checkpoint table provisioned out of band. Existing constructors are unchanged and still create the table by default.
    (#167)

Bug fixes:

  • Fixed a task leak in CDCReaderWorker: on drop, the CDC log fetcher task wasn’t cancelled because it wasn’t wired to the worker’s remote handle, so it kept running as an orphaned task after the worker was dropped. Replaced the manual FuturesUnordered + tokio::spawn combination with a tokio::task::JoinSet, which cancels all of its child tasks on drop.
    (#165)

Others:

  • :warning: Breaking: replaced chrono::Duration with std::time::Duration across the public API, and dropped the chrono dependency entirely.
    (#150)
  • Bumped the scylla driver dependency to 1.8.0, which adds native Ord/Hash/MIN/MAX/now()/Duration-arithmetic support on CqlTimestamp, letting us delete the internal timestamp wrapper and comparison helpers that used to bridge the gap.
    (#169)
  • Dependency versions (scylla, anyhow, tokio, async-trait, etc.) are now declared once in the workspace root instead of being repeated per-crate, and several lower bounds were raised to versions that actually build (e.g. tokio, since the crate relies on JoinSet, stabilized later than the previously stated minimum).
    (#168)
  • Reformatted multi-item imports to one per line across the codebase for consistency.
    (#164)

Congrats to all contributors and thanks everyone for using our library!


The source code of the library can be found here:

The official crates.io registry entry is here:

Thank you for your attention, please do not hesitate to contact us if you have any questions, issues, feature requests, or are simply interested in our library!

Contributors since the last release:

commits author
6 Dawid Pawlik
1 Wojciech Przytuła
1 Yassir Barchi
1 Stanisław Czech