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

#1735 in Database interfaces

Download history 332614/week @ 2024-11-16 238281/week @ 2024-11-23 267122/week @ 2024-11-30 373567/week @ 2024-12-07 310982/week @ 2024-12-14 96924/week @ 2024-12-21 143393/week @ 2024-12-28 341037/week @ 2025-01-04 409927/week @ 2025-01-11 417923/week @ 2025-01-18 522147/week @ 2025-01-25 554598/week @ 2025-02-01 595078/week @ 2025-02-08 491342/week @ 2025-02-15 569353/week @ 2025-02-22 860113/week @ 2025-03-01

2,623,486 downloads per month
Used in 497 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
~122K SLoC