axum-postgres-tx 0.3.0

Request-scoped PostgreSQL transactions for axum
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"
name = "axum-postgres-tx"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Request-scoped PostgreSQL transactions for axum"
homepage = "https://github.com/danbluhmhansen/axum-postgres-tx"
readme = "README.md"
keywords = [
    "async",
    "axum-postgres-tx",
    "database",
    "http",
    "web",
]
categories = [
    "asynchronous",
    "database",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/danbluhmhansen/axum-postgres-tx"

[features]
bb8 = ["dep:bb8-postgres"]
deadpool = [
    "dep:deadpool",
    "dep:deadpool-postgres",
]
default = ["bb8"]
integration = []

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

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

[dependencies.axum-core]
version = "0.5"

[dependencies.bb8-postgres]
version = "0.9"
optional = true

[dependencies.deadpool]
version = "0.12"
optional = true

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

[dependencies.futures-core]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.parking_lot]
version = "0.12"
features = [
    "arc_lock",
    "send_guard",
]

[dependencies.thiserror]
version = "2"

[dependencies.tower-layer]
version = "0.3"

[dependencies.tower-service]
version = "0.3"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.bb8-postgres]
version = "0.9"

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

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

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]