Cargo Features

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

These default features are set whenever apalis-sql is added without default-features = false somewhere in the dependency tree.

postgres default

Enables json and postgres of sqlx

Affects apalis-sql::postgres

sqlite default

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?