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

#1680 in Database interfaces

Download history 297406/week @ 2024-09-24 287136/week @ 2024-10-01 297554/week @ 2024-10-08 314789/week @ 2024-10-15 338278/week @ 2024-10-22 323770/week @ 2024-10-29 323635/week @ 2024-11-05 345598/week @ 2024-11-12 325676/week @ 2024-11-19 222417/week @ 2024-11-26 299772/week @ 2024-12-03 367998/week @ 2024-12-10 266433/week @ 2024-12-17 89621/week @ 2024-12-24 174821/week @ 2024-12-31 303478/week @ 2025-01-07

899,473 downloads per month
Used in 454 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–11MB
~116K SLoC