Cargo Features

[dependencies]
sqlx_migrator = { version = "0.16.1", default-features = false, features = ["cli", "postgres", "sqlite", "mysql", "any"] }
default = cli

The cli feature is set by default whenever sqlx_migrator is added without default-features = false somewhere in the dependency tree.

cli default

Enables clap

Affects sqlx_migrator::cli

postgres

Enables crc32fast, postgres of sqlx

sqlite

Enables sqlite of sqlx

mysql

Enables crc32fast, mysql of sqlx

any

Enables any of sqlx

sqlx:

database