# 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 = "seaorm-auto-migration"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto migration generator for SeaORM — diffs entities against live DB and generates migration files"
readme = "README.md"
keywords = [
    "seaorm",
    "migration",
    "database",
    "postgresql",
    "codegen",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/rinnguyen711/seaorm-auto-migration"

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

[[bin]]
name = "seaorm-auto-migration"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dotenvy]
version = "0.15"

[dependencies.quote]
version = "1"

[dependencies.rand]
version = "0.8"

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

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

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

[dependencies.walkdir]
version = "2"

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