3 releases

0.1.3 Sep 26, 2023
0.1.2 Oct 26, 2021
0.1.1 Oct 26, 2021
0.1.0 Oct 26, 2021

#1943 in Database interfaces

Download history 149519/week @ 2023-12-16 62125/week @ 2023-12-23 123139/week @ 2023-12-30 156697/week @ 2024-01-06 158513/week @ 2024-01-13 157963/week @ 2024-01-20 149793/week @ 2024-01-27 152323/week @ 2024-02-03 148793/week @ 2024-02-10 140468/week @ 2024-02-17 162038/week @ 2024-02-24 164083/week @ 2024-03-02 161873/week @ 2024-03-09 152531/week @ 2024-03-16 159607/week @ 2024-03-23 149700/week @ 2024-03-30

648,478 downloads per month
Used in 322 crates (3 directly)

MIT/Apache

8KB
95 lines

Deadpool runtime abstraction Latest Version Unsafe forbidden Rust 1.63+

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

License

Licensed under either of

at your option.

Dependencies

~0–12MB
~117K SLoC