Cargo Features

Scylla has no features set by default.

[dependencies]
scylla = { version = "1.7.0", features = ["openssl-010", "rustls-023", "secrecy-08", "secrecy-10", "chrono-04", "time-03", "num-bigint-03", "num-bigint-04", "bigdecimal-04", "full-serialization", "metrics", "unstable-testing", "unstable-cpp-rs", "unstable-nodejs-rs", "unstable-host-listener", "unstable-reconnect-policy", "unstable-client-routes"] }
openssl-010

Enables TLS support via OpenSSL 0.10.

Enables openssl

TLS implementations

and tokio-openssl

Not part of public API

rustls-023

Enables TLS support via rustls 0.23.

Enables rustls and tokio-rustls

tokio-rustls:

Not part of public API

secrecy-08 full-serialization?

Enables support for CQL ser/de of Secrecy type from secrecy 0.8 crate.

Enables secrecy-08 of scylla-cql

Main, public dependencies

secrecy-10 full-serialization?

Enables support for CQL ser/de of Secrecy type from secrecy 0.10 crate.

Enables secrecy-10 of scylla-cql

chrono-04 full-serialization?

Enables support for CQL ser/de of time/date types from chrono 0.4 crate.

Enables chrono-04 of scylla-cql and scylla-cql-core

time-03 full-serialization?

Enables support for CQL ser/de of time/date types from time 0.3 crate.

Enables time-03 of scylla-cql and scylla-cql-core

num-bigint-03 full-serialization?

Enables support for CQL ser/de of arbitrary length integer types from num-bigint 0.3 crate.

Enables num-bigint-03 of scylla-cql and scylla-cql-core

num-bigint-04 full-serialization?

Enables support for CQL ser/de of arbitrary length integer types from num-bigint 0.4 crate.

Enables num-bigint-04 of scylla-cql and scylla-cql-core

bigdecimal-04 full-serialization?

Enables support for CQL ser/de of arbitrary precision decimal types from bigdecimal 0.4 crate.

Enables bigdecimal-04 of scylla-cql and scylla-cql-core

full-serialization = bigdecimal-04, chrono-04, num-bigint-03, num-bigint-04, secrecy-08, secrecy-10, time-03

Enables support for CQL ser/de of all supported external types.

metrics

Enables collection of internal driver metrics.

Enables histogram ^0.11.1

Internal utilities

Used in metrics.

Affects observability::metrics, speculative_execution::Context.metrics, speculative_execution::PercentileSpeculativeExecutionPolicy

unstable-testing

UNSTABLE FEATURES
Opts-in to various unstable testing features.

Affects scylla::internal_testing

unstable-cpp-rs

Enables features for use in CPP-RS Driver.

unstable-nodejs-rs

Enables features for use in Node.js-RS Driver.

Enables unstable-nodejs-rs of scylla-cql

unstable-host-listener

Enables HostListener experimental support.

Affects session::SessionConfig.host_listener, policies::host_listener

unstable-reconnect-policy

Enables unstable reconnection policy configuration.

Affects session::SessionConfig.reconnect_policy, policies::reconnect

unstable-client-routes

Enables fetching contents of the system.client_routes table. Needed for custom routing (AWS PrivateLink, GCP PSC, etc.).

Affects session_builder::ClientRoutesMode, session_builder::ClientRoutesSessionBuilder