# 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"
name = "prax-migrate"
version = "0.7.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Migration engine for the Prax ORM - schema diffing, SQL generation, and history tracking"
homepage = "https://github.com/quinnjr/prax"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "migrations",
    "postgresql",
    "async",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinnjr/prax"
resolver = "2"

[features]
default = []
tracing = ["dep:tracing"]

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

[[example]]
name = "cql_migration"
path = "examples/cql_migration.rs"

[[example]]
name = "duckdb_migration"
path = "examples/duckdb_migration.rs"

[[example]]
name = "event_sourcing"
path = "examples/event_sourcing.rs"

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hex]
version = "0.4"

[dependencies.prax-schema]
version = "0.7.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = [
    "full",
    "fs",
]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"
optional = true

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

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