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 wheneverredis_tang
is added without
somewhere in the dependency tree.default-features = false - 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.