# 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.89"
name = "prax-postgres"
version = "0.10.0"
authors = ["Joseph Quinn <quinn.josephr@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL driver for the Prax ORM with connection pooling"
documentation = "https://docs.rs/prax-postgres"
readme = "README.md"
keywords = [
    "orm",
    "postgres",
    "postgresql",
    "database",
    "async",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinnjr/prax"
resolver = "2"

[features]
default = []

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.lru]
version = "0.12"

[dependencies.postgres-types]
version = "0.2"
features = ["derive"]

[dependencies.prax-query]
version = "0.10.0"

[dependencies.rust_decimal]
version = "1.37"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "sync",
    "time",
]

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.uuid]
version = "1.10"
features = [
    "v4",
    "serde",
]
