[package]
name = "sqlx-migrate"
version = "0.3.3"
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 = "2.1"
futures-core = "0.3"
humantime = "2.1.0"
sqlx = { version = "0.5" }
thiserror = "1"
tracing = "0.1"
itertools = "0.10"
proc-macro2 = { version = "1", optional = true }
quote = { version = "1", optional = true }
sha2 = { version = "0.10", optional = true }
syn = { version = "1", optional = true }
walkdir = { version = "2.3", optional = true }
sqlparser = { version = "0.13", optional = true }
clap = { version = "3.0.0-rc.4", 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 = "5.0.0", optional = true }
time = { version = "0.3", optional = true, features = ["formatting"] }
regex = { version = "1.5", optional = true }
filetime = { version = "0.2", optional = true }
dotenv = { version = "0.15", optional = true }
[dev-dependencies]
tokio = { version = "1.14.0", features = ["rt-multi-thread", "macros"] }
sqlx = { version = "0.5.9", features = ["runtime-tokio-rustls"] }
[features]
default = []
generate = [
"proc-macro2",
"quote",
"sha2",
"syn",
"walkdir",
]
validate-sql = ["sqlparser"]
cli = [
"time",
"clap",
"tracing-subscriber",
"atty",
"tokio",
"comfy-table",
"sqlx/runtime-tokio-rustls",
"regex",
"filetime",
"dotenv",
]
postgres = ["sqlx/postgres"]
_docs = ["sqlx/runtime-tokio-rustls"]
[package.metadata.docs.rs]
all-features = true