5 releases
Uses new Rust 2024
| new 0.2.0 | Feb 17, 2026 |
|---|---|
| 0.1.5 |
|
| 0.1.4 | Jun 4, 2024 |
| 0.1.3 | May 4, 2024 |
| 0.1.0 | Oct 26, 2021 |
#1196 in Database interfaces
73,320 downloads per month
Used in 60 crates
(12 directly)
25KB
296 lines
Deadpool for synchroneous code

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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~0–1.7MB
~12K SLoC