Cargo Features

[dependencies]
redis_tang = { version = "0.3.0", default-features = false, features = ["with-tokio", "with-async-std", "with-ntex"] }
default = with-tokio

The with-tokio feature is set by default whenever redis_tang is added without default-features = false somewhere in the dependency tree.

with-tokio default = tang-rs

Enables tokio-comp of redis ^0.21, time of tokio

with-async-std = smol, tang-rs

Enables unstable of async-std, async-std-comp of redis ^0.21

with-ntex

Enables tokio-comp of redis ^0.21, no-send of tang-rs, time of tokio

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.

async-std with-async-std?
redis with-async-std? with-ntex? with-tokio

Enables redis ^0.21

smol with-async-std?

Enables smol ^1

tokio with-ntex? with-tokio
tang-rs with-async-std? with-ntex? with-tokio