[package]
name = "sqlx-migrate"
version = "0.6.0"
edition = "2021"
description = "A database migration micro-framework based on SQLx"
repository = "https://github.com/tamasfe/sqlx-migrate"
authors = ["tamasfe"]
homepage = "https://github.com/tamasfe/sqlx-migrate"
license = "MIT"
keywords = ["sqlx", "database", "migration"]
categories = ["database", "development-tools"]
[dependencies]
anyhow = "1"
async-trait = "0.1"
crc = "3.0.0"
futures-core = "0.3"
humantime = "2.1.0"
sqlx = { version = "0.6.0" }
thiserror = "1"
tracing = "0.1"
itertools = "0.10"
sha2 = { version = "0.10" }
proc-macro2 = { version = "1", optional = true }
quote = { version = "1", optional = true }
syn = { version = "1", optional = true }
walkdir = { version = "2.3", optional = true }
clap = { version = "3.0.0", features = ["derive"], optional = true }
tracing-subscriber = { version = "0.3.3", features = [
"env-filter",
], optional = true }
atty = { version = "0.2.14", optional = true }
tokio = { version = "1.14.0", features = ["rt"], optional = true }
comfy-table = { version = "6.0.0", optional = true }
time = { version = "0.3", optional = true, features = ["formatting"] }
regex = { version = "1.5", optional = true }
filetime = { version = "0.2", optional = true }
dotenvy = { version = "0.15", optional = true }
[dev-dependencies]
tokio = { version = "1.14.0", features = ["rt-multi-thread", "macros"] }
sqlx = { version = "0.6.0", features = ["runtime-tokio-rustls"] }
[features]
default = []
generate = [
"dep:proc-macro2",
"dep:quote",
"dep:syn",
"dep:walkdir",
]
cli = [
"dep:time",
"dep:clap",
"dep:tracing-subscriber",
"dep:atty",
"dep:tokio",
"dep:comfy-table",
"dep:regex",
"dep:filetime",
"dep:dotenvy",
]
sqlite = ["sqlx/sqlite"]
postgres = ["sqlx/postgres"]
_docs = ["sqlx/runtime-tokio-rustls"]
[package.metadata.docs.rs]
all-features = true