-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
30 lines (27 loc) · 952 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
29
30
[package]
name = "async-bb8-diesel"
description = "async bb8 connection manager for Diesel"
version = "0.1.0"
authors = ["Sean Klein <sean@oxide.computer>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/oxidecomputer/async-bb8-diesel"
keywords = ["diesel", "r2d2", "pool", "tokio", "async"]
[features]
# Enables CockroachDB-specific functions.
cockroach = []
default = [ "cockroach" ]
[dependencies]
bb8 = "0.8"
async-trait = "0.1.80"
diesel = { version = "2.1.6", default-features = false, features = [ "r2d2" ] }
futures = "0.3"
thiserror = "1.0"
tokio = { version = "1.32", default-features = false, features = [ "rt-multi-thread" ] }
[dev-dependencies]
anyhow = "1.0"
diesel = { version = "2.1.6", features = [ "postgres", "r2d2" ] }
libc = "0.2.154"
tempfile = "3.8"
tokio = { version = "1.32", features = [ "macros", "fs", "process" ] }
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-1" ] }