Cargo Features

[dependencies]
apalis-core = { version = "0.6.0-rc.8", default-features = false, features = ["sleep", "json", "docsrs", "test-utils"] }
default = test-utils

The test-utils feature is set by default whenever apalis-core is added without default-features = false somewhere in the dependency tree.

sleep = futures-timer

Affects apalis-core::sleep, apalis-core::interval

json = serde_json

Affects codec::json

docsrs = document-features
test-utils default

Affects apalis-core::test_utils

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.

futures-timer sleep?
serde_json json?

Enables serde_json

Needed for the codec

document-features docsrs?