[[example]]
name = "postgres"
path = "examples/postgres/main.rs"
required-features = ["postgres", "cli"]
[[example]]
name = "sqlite"
path = "examples/sqlite/main.rs"
required-features = ["sqlite", "cli"]
[[example]]
name = "mysql"
path = "examples/mysql/main.rs"
required-features = ["mysql", "cli"]
[dependencies.async-trait]
version = "0.1.70"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4.3.10"
[dependencies.crc32fast]
optional = true
version = "1.3.2"
[dependencies.sqlx]
default-features = false
features = ["macros"]
version = "0.7.0"
[dependencies.thiserror]
version = "1.0.41"
[dependencies.tracing]
optional = true
version = "0.1.37"
[dev-dependencies.sqlx]
features = ["runtime-tokio", "tls-rustls"]
version = "0.7.3"
[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros"]
version = "1.34.0"
[features]
any = ["sqlx/any"]
cli = ["dep:clap"]
default = ["cli", "tracing"]
mysql = ["sqlx/mysql", "dep:crc32fast"]
postgres = ["sqlx/postgres", "dep:crc32fast"]
sqlite = ["sqlx/sqlite"]
tracing = ["dep:tracing"]
[lints.clippy]
all = "deny"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_crate_dependencies = "warn"
[package]
authors = ["Saurav Sharma <appdroiddeveloper@gmail.com>"]
categories = ["database"]
description = "Migrator for writing sqlx migration using Rust instead of SQL"
edition = "2021"
homepage = "https://github.com/iamsauravsharma/sqlx_migrator"
keywords = ["sqlx", "sqlx_migrations", "rust_migrations"]
license = "MIT"
name = "sqlx_migrator"
readme = "README.MD"
repository = "https://github.com/iamsauravsharma/sqlx_migrator"
version = "0.11.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]