deadpool 0.12.1

Dead simple async pool
Documentation
[package]
name = "deadpool"
version = "0.12.1"
edition = "2021"
rust-version = "1.75"
authors = ["Michael P. Jung <michael.jung@terreon.de>"]
description = "Dead simple async pool"
keywords = ["async", "database", "pool"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bikeshedder/deadpool"
readme = "README.md"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["managed", "unmanaged"]
managed = []
unmanaged = []
rt_tokio_1 = ["deadpool-runtime/tokio_1"]
rt_async-std_1 = ["deadpool-runtime/async-std_1"]

[dependencies]
num_cpus = "1.11.1"
# `serde` feature
serde = { version = "1.0.103", features = ["derive"], optional = true }
# `rt_async-std_1` feature
deadpool-runtime = { version = "0.1", path = "./runtime" }
# The dependency of tokio::sync is non-optional. Deadpool depends on
# `tokio::sync::Semaphore`. No other features of `tokio` are enabled or used
# unless the `rt_tokio_1` feature is enabled.
tokio = { version = "1.0", features = ["sync"] }

[dev-dependencies]
async-std = { version = "1.0", features = ["attributes"] }
config = { version = "0.14", features = ["json"] }
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
itertools = "0.12"
tokio = { version = "1.5.0", features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
] }

[[bench]]
name = "managed"
harness = false

[[bench]]
name = "unmanaged"
harness = false

[workspace]
members = [
    "diesel",
    "lapin",
    "memcached",
    "postgres",
    "r2d2",
    "redis",
    "runtime",
    "sqlite",
    "sync",
    "examples/*",
]