# 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 = "2021"
name = "pgmold"
version = "0.33.0"
build = false
exclude = [
    ".auto-claude/",
    ".auto-claude-security.json",
    ".claude_settings.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL schema-as-code management tool"
readme = "README.md"
keywords = [
    "postgresql",
    "schema",
    "migrations",
    "database",
    "cli",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/fmguerreiro/pgmold"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

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

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.petgraph]
version = "0.6"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlparser]
version = "0.60.5"
features = ["visitor"]
package = "pgmold-sqlparser"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]

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

[dev-dependencies.testcontainers]
version = "0.23"

[dev-dependencies.testcontainers-modules]
version = "0.11"
features = ["postgres"]

[dev-dependencies.tokio]
version = "1.35"
features = ["full"]

[build-dependencies.sqlparser]
version = "0.60.5"
features = ["visitor"]
package = "pgmold-sqlparser"
