Cargo Features
[dependencies]
deadpool-redis = { version = "0.18.0", default-features = false, features = ["rt_tokio_1", "rt_async-std_1", "serde", "cluster", "sentinel"] }
- default = rt_tokio_1
-
The
rt_tokio_1
feature is set by default wheneverdeadpool-redis
is added without
somewhere in the dependency tree.default-features = false - rt_tokio_1 default
-
Enables rt_tokio_1 of deadpool, tokio-comp of redis
- rt_async-std_1
-
Enables rt_async-std_1 of deadpool, async-std-comp of redis
- serde
- cluster
-
Enables cluster-async of redis
Affects
deadpool-redis::cluster
… - sentinel
-
Enables sentinel of redis, sync of tokio
Affects
deadpool-redis::sentinel
…
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.