Cargo Features
sqlx-migrate has no features set by default.
[dependencies]
sqlx-migrate = { version = "0.7.1", features = ["generate", "cli", "sqlite", "postgres"] }
- generate
-
Enables prettyplease, proc-macro2, quote, syn, and walkdir
proc-macro2:
Source generation dependencies
- cli
-
Enables atty, clap, comfy-table, dotenvy, filetime, regex, time, tokio, and tracing-subscriber
clap:
CLI dependencies
Affects
sqlx-migrate::cli
… - sqlite
-
Enables sqlite of sqlx ^0.7.0
- postgres
-
Enables postgres of sqlx ^0.7.0