forked from importcjj/mobc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (37 loc) · 1.25 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "mobc"
version = "0.7.2"
authors = ["importcjj <[email protected]>"]
edition = "2018"
readme = "README.md"
license = "MIT/Apache-2.0"
description = "A generic connection pool with async/await support"
repository = "https://github.com/importcjj/mobc"
categories = ["asynchronous", "network-programming"]
keywords = ["database", "pool", "async", "await"]
documentation = "https://docs.rs/mobc/latest/mobc/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["tokio", "unstable"]
unstable = []
[dependencies]
futures-core = "0.3"
futures-channel = { version = "0.3", features=["sink"] }
futures-util = { version = "0.3", features=["sink"] }
tokio = { version = "1", features=["rt", "rt-multi-thread", "time"], optional = true }
async-std = { version = "1.0", features=["unstable"], optional = true }
async-trait = "0.1"
futures-timer = "3.0.2"
log = "0.4"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
tokio-postgres = "0.7.0"
env_logger = "0.7"
tide = "0.5"
async-std = { version = "1.0", features = ["attributes"] }
actix-web = "2.0.0"
actix-rt = "1.0"
actix-http = "1.0"
[package.metadata.docs.rs]
features = ["unstable"]
rustdoc-args = ["--cfg", "feature=\"unstable\""]