-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (34 loc) · 1.26 KB
/
Copy pathCargo.toml
File metadata and controls
37 lines (34 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "axum-postgres-tx"
version = "0.3.0"
edition = "2024"
license = "MIT"
description = "Request-scoped PostgreSQL transactions for axum"
homepage = "https://github.com/danbluhmhansen/axum-postgres-tx"
repository = "https://github.com/danbluhmhansen/axum-postgres-tx"
readme = "README.md"
keywords = ["async", "axum-postgres-tx", "database", "http", "web"]
categories = ["asynchronous", "database", "web-programming"]
[dependencies]
axum-core = "0.5"
bb8-postgres = { version = "0.9", optional = true }
deadpool = { version = "0.12", optional = true }
deadpool-postgres = { version = "0.14", optional = true }
futures-core = "0.3"
http = "1"
parking_lot = { version = "0.12", features = ["arc_lock", "send_guard"] }
thiserror = "2"
tower-layer = "0.3"
tower-service = "0.3"
[features]
default = ["bb8"]
bb8 = ["dep:bb8-postgres"]
deadpool = ["dep:deadpool", "dep:deadpool-postgres"]
integration = []
[dev-dependencies]
axum = "0.8"
bb8-postgres = "0.9"
deadpool-postgres = "0.14"
serde_json = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tower = { version = "0.5", features = ["util"] }