[dependencies.actix-rt]
optional = true
version = "1"
[dependencies.async-std]
features = ["unstable"]
optional = true
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-channel]
features = ["sink"]
version = "0.3"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-timer]
version = "3.0.2"
[dependencies.futures-util]
features = ["sink"]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.metrics]
version = "0.23.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["rt", "rt-multi-thread", "time"]
optional = true
version = "1"
[dependencies.tracing]
features = ["attributes"]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3.11"
[dev-dependencies.actix-rt]
version = "2"
[dev-dependencies.actix-web]
version = "4.2.1"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.0"
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.tide]
version = "0.16"
[dev-dependencies.tokio]
features = ["full"]
version = "1"
[[example]]
name = "actix-web"
path = "examples/actix-web.rs"
required-features = ["actix-rt"]
[[example]]
name = "foo_db"
path = "examples/foo_db.rs"
[[example]]
name = "tide"
path = "examples/tide.rs"
required-features = ["async-std"]
[features]
default = ["tokio", "unstable"]
unstable = []
[lib]
name = "mobc"
path = "src/lib.rs"
[package]
authors = ["importcjj <importcjj@gmail.com>", "Garren Smith <garren.smith@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous", "network-programming"]
description = "A generic connection pool with async/await support"
documentation = "https://docs.rs/mobc/latest/mobc/"
edition = "2018"
keywords = ["database", "pool", "async", "await"]
license = "MIT/Apache-2.0"
name = "mobc"
readme = "README.md"
repository = "https://github.com/importcjj/mobc"
version = "0.8.5"
[package.metadata.docs.rs]
features = ["unstable"]
rustdoc-args = ["--cfg", 'feature="unstable"']
[[test]]
name = "mobc"
path = "tests/mobc.rs"