4 releases

0.1.4 May 4, 2024
0.1.3 Sep 26, 2023
0.1.2 Oct 26, 2021
0.1.1 Oct 26, 2021
0.1.0 Oct 26, 2021

#2166 in Database interfaces

Download history 215933/week @ 2024-07-19 218402/week @ 2024-07-26 215064/week @ 2024-08-02 240418/week @ 2024-08-09 255666/week @ 2024-08-16 251172/week @ 2024-08-23 236383/week @ 2024-08-30 282462/week @ 2024-09-06 241990/week @ 2024-09-13 301511/week @ 2024-09-20 282204/week @ 2024-09-27 309765/week @ 2024-10-04 292035/week @ 2024-10-11 327052/week @ 2024-10-18 345585/week @ 2024-10-25 308969/week @ 2024-11-01

1,336,603 downloads per month
Used in 421 crates (4 directly)

MIT/Apache

8KB
95 lines

Deadpool runtime abstraction Latest Version Unsafe forbidden Rust 1.75+

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–10MB
~110K SLoC