#async-pool #pool #sync #async #utilities

deadpool-sync

Dead simple async pool utitities for sync managers

3 releases

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

#10 in #utils

Download history 3691/week @ 2024-01-14 3927/week @ 2024-01-21 4941/week @ 2024-01-28 4648/week @ 2024-02-04 4419/week @ 2024-02-11 3952/week @ 2024-02-18 4100/week @ 2024-02-25 5853/week @ 2024-03-03 5089/week @ 2024-03-10 4793/week @ 2024-03-17 5275/week @ 2024-03-24 5186/week @ 2024-03-31 5096/week @ 2024-04-07 4487/week @ 2024-04-14 4597/week @ 2024-04-21 4543/week @ 2024-04-28

19,087 downloads per month
Used in 23 crates (4 directly)

MIT/Apache

18KB
241 lines

Deadpool for synchroneous code Latest Version Unsafe forbidden Rust 1.75+

Deadpool is a dead simple async pool for connections and objects of any type.

This crates provides helpers for writing pools for objects that don't support async and need to be run inside a thread.

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
tracing Enable support for tracing by propagating Spans in the interact() calls. Enable this if you use the tracing crate and you want to get useful traces from within interact() calls. tracing no

License

Licensed under either of

at your option.

Dependencies

~84KB