/
Cargo.toml
28 lines (25 loc) · 998 Bytes
/
Cargo.toml
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
[package]
name = "bb8-postgres"
version = "0.8.0"
description = "Full-featured async (tokio-based) postgres connection pool (like r2d2)"
license = "MIT"
repository = "https://github.com/djc/bb8"
edition = "2018"
[features]
"with-bit-vec-0_6" = ["tokio-postgres/with-bit-vec-0_6"]
"with-chrono-0_4" = ["tokio-postgres/with-chrono-0_4"]
"with-eui48-0_4" = ["tokio-postgres/with-eui48-0_4"]
"with-geo-types-0_6" = ["tokio-postgres/with-geo-types-0_6"]
"with-serde_json-1" = ["tokio-postgres/with-serde_json-1"]
"with-uuid-0_8" = ["tokio-postgres/with-uuid-0_8"]
"with-time-0_2" = ["tokio-postgres/with-time-0_2"]
"with-time-0_3" = ["tokio-postgres/with-time-0_3"]
[dependencies]
async-trait = "0.1"
bb8 = { version = "0.8", path = "../bb8" }
tokio = { version = "1.0.0", features = ["rt"] }
tokio-postgres = "0.7"
[dev-dependencies]
futures-util = "0.3.2"
hyper = { version = "0.14.1", features = ["http1", "server", "tcp"] }
tokio = { version = "1.0.0", features = ["macros", "rt-multi-thread"] }