drizzle-cli 0.4.1

Command-line interface for drizzle-rs migrations
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.98"
name = "drizzle-cli"
version = "0.4.1"
authors = ["Mixed Nuts"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for drizzle-rs migrations"
readme = false
license = "MIT"
repository = "https://github.com/themixednuts/drizzle-rs"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/drizzle-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
bit-vec = []
chrono = []
cidr = []
d1-http = [
    "dep:reqwest",
    "dep:tokio",
    "drizzle-seed/sqlite",
]
default = []
geo-types = []
libsql = [
    "dep:libsql",
    "dep:tokio",
    "drizzle-seed/sqlite",
]
mysql-all = [
    "mysql-sync",
    "mysql-async",
]
mysql-async = [
    "dep:mysql_async",
    "dep:mysql_common",
    "dep:tokio",
    "drizzle-seed/mysql",
]
mysql-sync = [
    "dep:mysql",
    "dep:mysql_common",
    "drizzle-seed/mysql",
]
postgres-all = [
    "postgres-sync",
    "tokio-postgres",
]
postgres-sync = [
    "drizzle-seed/postgres",
    "dep:postgres",
    "dep:tokio-postgres",
    "dep:postgres-native-tls",
    "dep:native-tls",
]
rusqlite = [
    "dep:rusqlite",
    "drizzle-seed/sqlite",
]
serde = []
sqlite-all = [
    "rusqlite",
    "libsql",
    "turso",
    "d1-http",
]
tokio-postgres = [
    "drizzle-seed/postgres",
    "dep:tokio-postgres",
    "tokio-postgres/runtime",
    "dep:postgres-native-tls",
    "dep:native-tls",
    "dep:tokio",
]
turso = [
    "dep:libsql",
    "dep:tokio",
    "drizzle-seed/sqlite",
]
uuid = []

[lib]
name = "drizzle_cli"
path = "src/lib.rs"

[[bin]]
name = "drizzle"
path = "src/main.rs"

[[test]]
name = "cli_parity"
path = "tests/cli_parity.rs"

[[test]]
name = "exit_codes"
path = "tests/exit_codes.rs"

[[test]]
name = "import"
path = "tests/import.rs"

[[test]]
name = "migrate_created_at_dedupe"
path = "tests/migrate_created_at_dedupe.rs"

[[test]]
name = "migrate_custom_migrations_table"
path = "tests/migrate_custom_migrations_table.rs"

[[test]]
name = "migrate_modes"
path = "tests/migrate_modes.rs"

[[test]]
name = "migrate_repair"
path = "tests/migrate_repair.rs"

[[test]]
name = "migrate_tracking_upgrade"
path = "tests/migrate_tracking_upgrade.rs"

[[test]]
name = "parity_integration"
path = "tests/parity_integration.rs"

[[test]]
name = "parity_postgres_async_integration"
path = "tests/parity_postgres_async_integration.rs"

[[test]]
name = "parity_postgres_integration"
path = "tests/parity_postgres_integration.rs"

[[test]]
name = "parity_sqlite_integration"
path = "tests/parity_sqlite_integration.rs"

[[test]]
name = "push_explain"
path = "tests/push_explain.rs"

[[test]]
name = "rename_hints"
path = "tests/rename_hints.rs"

[[test]]
name = "upgrade_legacy_layout"
path = "tests/upgrade_legacy_layout.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "color",
]

[dependencies.colored]
version = "3.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.drizzle-migrations]
version = "=0.4.1"

[dependencies.drizzle-seed]
version = "=0.4.1"
features = ["migrations"]
default-features = false

[dependencies.drizzle-types]
version = "=0.4.1"
features = [
    "std",
    "serde",
    "schemars",
    "uuid",
    "chrono",
    "time",
    "geo-types",
    "cidr",
    "bit-vec",
]
default-features = false

[dependencies.glob]
version = "0.3"

[dependencies.heck]
version = "0.5"

[dependencies.inquire]
version = "0.9"

[dependencies.libsql]
version = ">=0.9.1, <0.11"
optional = true

[dependencies.mysql]
version = ">=28.0.0, <29"
features = [
    "minimal-rust",
    "native-tls",
]
optional = true
default-features = false

[dependencies.mysql_async]
version = ">=0.37.0, <0.38"
features = [
    "minimal-rust",
    "native-tls-tls",
]
optional = true
default-features = false

[dependencies.mysql_common]
version = ">=0.37.1, <0.38"
optional = true
default-features = false

[dependencies.native-tls]
version = ">=0.2.18, <0.3"
features = ["vendored"]
optional = true

[dependencies.postgres]
version = ">=0.19.11, <0.20"
optional = true

[dependencies.postgres-native-tls]
version = ">=0.5.3, <0.6"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = ">=0.36, <0.41"
features = [
    "bundled",
    "bundled",
]
optional = true

[dependencies.schemars]
version = "1.2"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tokio]
version = ">=1.48, <2"
features = [
    "rt",
    "macros",
]
optional = true

[dependencies.tokio-postgres]
version = ">=0.7.18, <0.8"
optional = true
default-features = false

[dependencies.toml]
version = "1"

[dev-dependencies.assert_cmd]
version = "2.1"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.sha2]
version = "0.11"

[dev-dependencies.tempfile]
version = "3.23"