Add bb8 connection pool example (#19)

I figure this will be quite common.
This commit is contained in:
David Pedersen
2021-06-15 22:25:41 +02:00
committed by GitHub
parent b6e67eefd7
commit 8a82fd00aa
2 changed files with 58 additions and 0 deletions
+3
View File
@@ -42,10 +42,13 @@ headers = { optional = true, version = "0.3" }
[dev-dependencies]
askama = "0.10.5"
bb8 = "0.7.0"
bb8-postgres = "0.7.0"
hyper = { version = "0.14", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "stream"] }
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.6.1", features = ["macros", "rt", "rt-multi-thread"] }
tokio-postgres = "0.7.2"
tracing = "0.1"
tracing-subscriber = "0.2"
uuid = "0.8"