[package]
edition = "2024"
name = "safe-migrate"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lint PostgreSQL migrations against live database statistics to prevent blocking locks"
readme = "README.md"
keywords = [
"postgres",
"migration",
"linter",
"ast",
"database",
]
categories = [
"command-line-utilities",
"database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dsecurity49/safe-migrate"
[lib]
name = "safe_migrate"
path = "src/lib.rs"
[[bin]]
name = "safe-migrate"
path = "src/main.rs"
[[test]]
name = "alter_schema_visitor"
path = "tests/alter_schema_visitor.rs"
[[test]]
name = "architectural_gaps"
path = "tests/architectural_gaps.rs"
[[test]]
name = "bug_fixes"
path = "tests/bug_fixes.rs"
[[test]]
name = "chain_execution"
path = "tests/chain_execution.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "destructive_rules"
path = "tests/destructive_rules.rs"
[[test]]
name = "exhaustive_fuzz"
path = "tests/exhaustive_fuzz.rs"
[[test]]
name = "expression_parsing"
path = "tests/expression_parsing.rs"
[[test]]
name = "identifier_casing"
path = "tests/identifier_casing.rs"
[[test]]
name = "live_differential_harness"
path = "tests/live_differential_harness.rs"
[[test]]
name = "reversibility"
path = "tests/reversibility.rs"
[[test]]
name = "rule_evaluation"
path = "tests/rule_evaluation.rs"
[[test]]
name = "state_machine_guards"
path = "tests/state_machine_guards.rs"
[[test]]
name = "state_mutation"
path = "tests/state_mutation.rs"
[[test]]
name = "transaction_lifecycle"
path = "tests/transaction_lifecycle.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.bincode]
version = "2.0"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.comfy-table]
version = "7"
[dependencies.crossterm]
version = "0.27.0"
[dependencies.owo-colors]
version = "4"
[dependencies.postgres]
version = "0.19"
[dependencies.rowan]
version = "0.15.18"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.squawk-lexer]
version = "=2.61.0"
[dependencies.squawk-parser]
version = "=2.61.0"
[dependencies.squawk-syntax]
version = "=2.61.0"
[dependencies.terminal_size]
version = "0.3"
[dependencies.thiserror]
version = "1.0"
[dependencies.toml]
version = "0.8"
[dependencies.zstd]
version = "0.13"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.postgres]
version = "0.19"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.10"