Cargo Features
[dependencies]
apalis-redis = { version = "0.6.0-rc.8", default-features = false, features = ["async-std-comp", "tokio-comp"] }
- default = tokio-comp
-
The
tokio-comp
feature is set by default wheneverapalis-redis
is added without
somewhere in the dependency tree.default-features = false - async-std-comp = async-std
-
Enables async-std-comp of redis ^0.25.4
- tokio-comp default = tokio
-
Enables tokio, tokio-comp of redis ^0.25.4
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.