# 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.85"
name = "gize-db"
version = "0.8.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data-layer conventions and SQLx migrations for Gize. See ADR-003 / ADR-011."
readme = "README.md"
keywords = [
    "gize",
    "sqlx",
    "postgres",
    "migrations",
    "database",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/robertolima-dev/gize"

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

[dependencies.anyhow]
version = "1"

[dependencies.gize-core]
version = "0.8.4"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "sqlite",
    "mysql",
    "any",
    "migrate",
]

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

[dependencies.uuid]
version = "1"
features = ["v4"]
