Cargo Features

apalis-core has no features set by default.

[dependencies]
apalis-core = { version = "0.5.1", features = ["sleep", "json", "docsrs"] }
sleep = async-timer

Affects apalis-core::sleep

json = serde_json

Affects codec::json

docsrs = document-features

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.

async-timer sleep?
serde_json json?

Enables serde_json

Needed for the codec

document-features docsrs?