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

#1833 in Database interfaces

Download history 89216/week @ 2024-12-25 229318/week @ 2025-01-01 385325/week @ 2025-01-08 395593/week @ 2025-01-15 485265/week @ 2025-01-22 534306/week @ 2025-01-29 572911/week @ 2025-02-05 531449/week @ 2025-02-12 540669/week @ 2025-02-19 557635/week @ 2025-02-26 983923/week @ 2025-03-05 819275/week @ 2025-03-12 1456952/week @ 2025-03-19 788376/week @ 2025-03-26 736701/week @ 2025-04-02 567272/week @ 2025-04-09

3,710,075 downloads per month
Used in 533 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
~123K SLoC