Cargo Features

[dependencies]
apalis-redis = { version = "0.5.1", default-features = false, features = ["async-std-comp", "tokio-comp"] }
default = tokio-comp

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

async-std-comp = async-std

Enables async-std-comp of redis

tokio-comp default = tokio

Enables tokio, tokio-comp of redis

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.

tokio tokio-comp
async-std async-std-comp?