7 releases
Uses new Rust 2024
| 0.3.1 | Feb 3, 2026 |
|---|---|
| 0.3.0 | Feb 3, 2026 |
| 0.2.0 | Feb 2, 2026 |
| 0.1.5 |
|
| 0.1.2 | Oct 26, 2021 |
#1814 in Database interfaces
4,937,001 downloads per month
Used in 1,326 crates
(5 directly)
14KB
142 lines
Deadpool runtime abstraction

Deadpool is a dead simple async pool for connections and objects of any type.
This crate provides a simple Runtime enum that can be used to
target multiple runtimes. This crate avoids boxed futures and
and only implements things actually needed by the deadpool crates.
Note: This crate is intended for making the development of
deadpool-* crates easier. Other libraries and binary projects
normally should not use this directly and use some provided
reexports by the crates using it.
Features
| Feature | Description | Extra dependencies | Default |
|---|---|---|---|
tokio_1 |
Enable support for tokio crate | tokio/time, tokio/rt |
no |
async-std_1 |
Enable support for async-std crate | async-std |
no |
smol_2 |
Enable support for smol crate | async-io, blocking, futures-lite |
no |
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~0–5.5MB
~120K SLoC