Cargo Features

[dependencies]
apalis-sql = { version = "0.6.0-rc.8", default-features = false, features = ["postgres", "sqlite", "mysql", "migrate", "async-std-comp", "tokio-comp"] }
default = migrate

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

postgres

Enables json and postgres of sqlx

Affects apalis-sql::postgres

sqlite

Enables json and sqlite of sqlx

Affects apalis-sql::sqlite

mysql

Enables bigdecimal, json and mysql of sqlx

Affects apalis-sql::mysql

migrate default

Enables macros and migrate of sqlx

async-std-comp = async-std

Enables runtime-async-std-rustls of sqlx

tokio-comp = tokio

Enables runtime-tokio-rustls of sqlx

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?