# 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 = "dbkit-rs"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable Postgres + DuckDB database infrastructure: connection pooling, caching, batch operations, and migrations"
readme = "README.md"
keywords = [
    "postgres",
    "duckdb",
    "database",
    "connection-pool",
    "migrations",
]
categories = ["database"]
license = "MIT"

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

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

[dependencies.dashmap]
version = "6"

[dependencies.deadpool-postgres]
version = "0.14"

[dependencies.duckdb]
version = "1.2"
features = ["bundled"]
optional = true

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-postgres]
version = "0.7"
features = [
    "with-uuid-1",
    "with-chrono-0_4",
    "with-serde_json-1",
]

[dependencies.tracing]
version = "0.1"
