deadpool-postgres 0.14.2

Dead simple async pool for tokio-postgres
Documentation
# 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 = "deadpool-postgres"
version = "0.14.2"
authors = ["Michael P. Jung <michael.jung@terreon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dead simple async pool for tokio-postgres"
readme = "README.md"
keywords = [
    "async",
    "database",
    "pool",
    "postgres",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/deadpool-rs/deadpool"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
array-impls = ["tokio-postgres/array-impls"]
default = ["rt_tokio_1"]
js = ["tokio-postgres/js"]
rt_async-std_1 = ["deadpool/rt_async-std_1"]
rt_tokio_1 = ["deadpool/rt_tokio_1"]
runtime = ["tokio-postgres/runtime"]
serde = [
    "deadpool/serde",
    "dep:serde",
]
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
with-bit-vec-0_7 = ["tokio-postgres/with-bit-vec-0_7"]
with-bit-vec-0_8 = ["tokio-postgres/with-bit-vec-0_8"]
with-bit-vec-0_9 = ["tokio-postgres/with-bit-vec-0_9"]
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
with-cidr-0_2 = ["tokio-postgres/with-cidr-0_2"]
with-cidr-0_3 = ["tokio-postgres/with-cidr-0_3"]
with-eui48-0_4 = ["tokio-postgres/with-eui48-0_4"]
with-eui48-1 = ["tokio-postgres/with-eui48-1"]
with-geo-types-0_6 = ["tokio-postgres/with-geo-types-0_6"]
with-geo-types-0_7 = ["tokio-postgres/with-geo-types-0_7"]
with-jiff-0_1 = ["tokio-postgres/with-jiff-0_1"]
with-jiff-0_2 = ["tokio-postgres/with-jiff-0_2"]
with-serde_json-1 = ["tokio-postgres/with-serde_json-1"]
with-smol_str-01 = ["tokio-postgres/with-smol_str-01"]
with-time-0_2 = ["tokio-postgres/with-time-0_2"]
with-time-0_3 = ["tokio-postgres/with-time-0_3"]
with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
with-uuid-1 = ["tokio-postgres/with-uuid-1"]

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

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

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

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

[dependencies.deadpool]
version = "0.13.1"
features = ["managed"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
package = "serde"

[dependencies.tokio]
version = "1.29"
features = [
    "rt",
    "sync",
]

[dependencies.tracing]
version = "0.1.37"

[dev-dependencies.config]
version = "0.15"
features = ["json"]

[dev-dependencies.dotenvy]
version = "0.15.0"

[dev-dependencies.futures]
version = "0.3.1"

[dev-dependencies.futures-util]
version = "0.3.30"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-postgres]
version = "0.7.14"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
package = "getrandom"

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio-postgres]
version = "0.7.14"
default-features = false