[package]
edition = "2021"
rust-version = "1.99"
name = "midas-migrate-cli"
version = "0.8.2"
authors = ["Edward Fitz Abucay <gh:@ffimnsr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "midas"
description = "Do painless migration 🦀"
readme = "README.md"
keywords = [
"sql",
"database",
"command-line",
"migrate",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ffimnsr/midas"
[package.metadata.deb]
name = "midas"
maintainer = "Edward Fitz Abucay gh:@ffimnsr"
section = "utility"
assets = [
[
"target/release/midas",
"usr/bin/",
"755",
],
[
"target/release/cargo-migrate",
"usr/bin/",
"755",
],
[
"../../COPYRIGHT",
"usr/share/doc/midas/",
"644",
],
[
"../../LICENSE-MIT",
"usr/share/doc/midas/",
"644",
],
[
"../../LICENSE-APACHE",
"usr/share/doc/midas/",
"644",
],
[
"../../README.md",
"usr/share/doc/midas/README",
"644",
],
]
[features]
cli = []
codegen-chrono = ["midas-schema/codegen-chrono"]
codegen-decimal = ["midas-schema/codegen-decimal"]
codegen-json = ["midas-schema/codegen-json"]
codegen-uuid = ["midas-schema/codegen-uuid"]
default = [
"cli",
"postgres",
"sqlite",
"codegen-uuid",
"codegen-chrono",
"codegen-json",
"codegen-decimal",
]
macros = ["midas/macros"]
openssl-vendored = ["midas/openssl-vendored"]
postgres = [
"cli",
"midas/postgres",
"midas-schema/postgres",
]
sqlite = [
"cli",
"midas/sqlite",
"midas-schema/sqlite",
]
sqlite-bundled = [
"sqlite",
"midas/sqlite-bundled",
"midas-schema/sqlite-bundled",
]
tls-native-tls = ["midas/tls-native-tls"]
tls-rustls = ["midas/tls-rustls"]
[lib]
name = "midas_cli"
path = "src/lib.rs"
[[bin]]
name = "cargo-migrate"
path = "src/bin/cargo-migrate.rs"
required-features = ["cli"]
[[bin]]
name = "midas"
path = "src/bin/midas.rs"
required-features = ["cli"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "feature_inventory"
path = "tests/feature_inventory.rs"
[[test]]
name = "phase1"
path = "tests/phase1.rs"
[[test]]
name = "phase10"
path = "tests/phase10.rs"
[[test]]
name = "phase11"
path = "tests/phase11.rs"
[[test]]
name = "phase2"
path = "tests/phase2.rs"
[[test]]
name = "phase3"
path = "tests/phase3.rs"
[[test]]
name = "phase4"
path = "tests/phase4.rs"
[[test]]
name = "phase5"
path = "tests/phase5.rs"
[[test]]
name = "phase6"
path = "tests/phase6.rs"
[[test]]
name = "phase7"
path = "tests/phase7.rs"
[[test]]
name = "phase8"
path = "tests/phase8.rs"
[[test]]
name = "phase9"
path = "tests/phase9.rs"
[dependencies.anyhow]
version = "1.0.93"
[dependencies.clap]
version = "4.5"
features = [
"env",
"string",
]
[dependencies.clap_complete]
version = "4.5.41"
[dependencies.console]
version = "0.16"
[dependencies.dotenvy]
version = "0.15"
[dependencies.midas]
version = "0.8.2"
default-features = false
[dependencies.midas-schema]
version = "0.8.2"
default-features = false
[dependencies.mk_ext_prettytable]
version = "0.11.0"
features = ["win_crlf"]
default-features = false
[dependencies.serde]
version = "1.0.215"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"tracing-log",
]
[dev-dependencies.assert_cmd]
version = "2.1.1"
[dev-dependencies.assert_fs]
version = "1.1.2"
[dev-dependencies.postgres]
version = "0.19"
[dev-dependencies.predicates]
version = "3.1.3"
features = [
"diff",
"regex",
]
default-features = false
[dev-dependencies.snapbox]
version = "0.6.21"
[dev-dependencies.tempfile]
version = "3.15"
[dev-dependencies.toml]
version = "0.8"
features = ["preserve_order"]
[dev-dependencies.trycmd]
version = "0.15.8"