Cargo Features

redis-async has no features set by default.

[dependencies]
redis-async = { version = "0.17.1", features = ["tls", "with-rustls", "with-native-tls"] }
tls with-native-tls? with-rustls?
with-rustls = tls, tokio-rustls, webpki-roots

Affects connect::connect_tls

with-native-tls = native-tls, tls, tokio-native-tls

Affects connect::connect_tls

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.

native-tls with-native-tls?
tokio-native-tls with-native-tls?
tokio-rustls with-rustls?

Enables tokio-rustls ^0.24

webpki-roots with-rustls?

Enables webpki-roots ^0.23