Cargo Features

[dependencies]
cdrs = { version = "4.0.0-beta.1", default-features = false, features = ["ssl", "rust-tls", "v3", "v4", "e2e-tests", "unstable-dynamic-cluster"] }
default = v4

The v4 feature is set by default whenever cdrs is added without default-features = false somewhere in the dependency tree.

ssl = openssl

Affects session::new_ssl, session::new_ssl_dynamic, session::new_snappy_ssl, session::new_snappy_ssl_dynamic, session::new_lz4_ssl, session::new_lz4_ssl_dynamic, transport::TransportTls

rust-tls = rustls, webpki

Affects transport::TransportRustls

v3
v4 default
e2e-tests
unstable-dynamic-cluster

enables dynamic cluster adjustments basing on status changes server events

Affects session::new_dynamic, session::new_snappy_dynamic, session::new_lz4_dynamic

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

openssl ssl?
webpki rust-tls?

Enables webpki ^0.21

rustls rust-tls?

Enables rustls ^0.17