#sync

deadpool-runtime

Dead simple async pool utitities for sync managers

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

#75 in #sync

Download history 212613/week @ 2024-06-12 187873/week @ 2024-06-19 223787/week @ 2024-06-26 195421/week @ 2024-07-03 204683/week @ 2024-07-10 212759/week @ 2024-07-17 220628/week @ 2024-07-24 212150/week @ 2024-07-31 236225/week @ 2024-08-07 241445/week @ 2024-08-14 251453/week @ 2024-08-21 234053/week @ 2024-08-28 283228/week @ 2024-09-04 264466/week @ 2024-09-11 263690/week @ 2024-09-18 238288/week @ 2024-09-25

1,094,365 downloads per month
Used in 407 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–9.5MB
~106K SLoC