Core features of the ScyllaDB Rust Driver
mainThe driver provides a comprehensive set of features for high-performance database interaction:
- Routing: Token-aware, Shard-aware, and Tablet-aware routing (ScyllaDB specific).
- Data Handling: Type-safe serialization/deserialization, zero-copy deserialization, and derive macros for user structs.
- Query Execution: Prepared, unprepared, and batch statements; transparent and manual query paging; and
CachingSessionfor transparent statement preparation. - Policies: Configurable Load balancing, Retry, and Speculative execution policies.
- Security & Performance: TLS support (OpenSSL and Rustls), compression (LZ4 and Snappy), and authentication.
- Observability: Driver-side metrics, query execution history, and CQL tracing.