deadpool
Dead simple async pool
0.13.0
121M downloads/mo
#718 most downloaded on crates.io
deadpool-rs/deadpool
What this package is like to depend on
Last release 6 months ago
17 Feb 2026
Release timing varies
gaps range from 9 days to 1.4 years
Nearly every release is documented
notes for 32 of 32 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
33 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
33 releases · Nov 2019 to Feb 2026Releases
latest 33-
0.13.017 Feb 2026Release notes
Open source →- Update
deadpool-runtimedependency to version 0.3 - Remove
SpawnBlockingErrorre-export
- Update
-
0.12.402 Feb 2026 withdrawnRelease notes
Open source →- Bump up MSRV to
1.85and Rust edition to2024 - Remove
lazy_staticdependency - Update
deadpool-runtimedependency to version 0.2 - Add support for
smolversion 2 as runtime
This release was yanked because
deadpoolpublicly re-exportsdeadpool-runtime::SpawnBlockingError. That type was changed indeadpool-runtime0.2, making the change a breaking one fordeadpoolas well. Supporting the new runtime therefore requires a breakingdeadpoolrelease. - Bump up MSRV to
-
0.12.302 Sep 2025Release notes
Open source →- Add unique
idto objects which can be read via theObject::idmethod - Add
WeakPool<T>andPool::weak()for non-owning, upgradeable pool references. - Use
num_cpus::get() * 2as default pool size instead ofnum_cpu::get_physical() * 4which should result in the same pool size for most systems with hyper threading but fixes the default pool size in containerized environments. - Cache
num_cpus::get()result to improvePoolcreation performance.
- Add unique
-
0.12.202 Feb 2025Release notes
Open source →- Update
itertoolsdependency to version0.13.0 - Change predicate parameter of
Pool::retainmethod toFnMut - Add
RetainResultas return value ofPool::retainmethod - Fix panic in
Pool::resizemethod caused by shrinking and growing the pool in quick succession.
- Update
-
0.12.107 May 2024 -
0.12.004 May 2024Release notes
Open source →- Add
SendtoManager::TypeandManager::Errorassociated types - Add
SendtoManager::createandManager::recyclereturn types
- Add
-
0.11.210 Apr 2024 -
0.11.106 Apr 2024 -
0.11.031 Mar 2024 -
0.10.025 Sep 2023Release notes
Open source →- Remove unreachable enum variant
BuildError::Backend - Split
Status.availableintoavailableandwaiting. - Add
QueueModeconfiguration option for choosing between aFIFO(default) andLIFOqueue. - Remove
HookError::ContinueandHookError::Abortvariants replacing it with the contents ofHookErrorCause. Returning aHookErrorfrom apost_createhook causes thePool::getoperation to fail while returning it from apre_recycleorpost_recyclehook the operation continues. - Add
metricsargument toManager::recyclemethod. - Remove deprecated
managed::syncmodule. - Remove deprecated
managed::Pool::try_getmethod. - Bump up MSRV to
1.63to match the one oftokio.
- Remove unreachable enum variant
-
0.9.520 May 2022Release notes
Open source →- Fix bug causing the pool to exceed its
max_sizein the case of a recycling error. - Fix panic caused by an integer overflow in the case of
a failing
post_createhook.
- Fix bug causing the pool to exceed its
-
0.9.427 Apr 2022 -
0.9.312 Apr 2022Release notes
Open source →- Add
Pool::retainmethod - Fix
Pool::get_timeoutsmethod - Deprecate
managed::Pool::try_get - Add
Pool::timeoutsmethod
- Add
-
0.9.215 Nov 2021 -
0.9.126 Oct 2021Release notes
Open source →- Deprecate
managed::syncmodule in favor ofdeadpool-synccrate - Extract
runtimemodule as separatedeadpool-runtimecrate
- Deprecate
-
0.9.018 Oct 2021Release notes
Open source →- Breaking: Replace
configfeature withserde(opted out by default) - Fix
std::error::Error::sourceimplementations for library errors - Add
Runtime::spawn_blockingmethod - Add
Runtime::spawn_blocking_backgroundmethod - Remove
Runtime::Nonein favor ofOption<Runtime> - Remove
Pool::newmethod - Add
Pool::buildermethod andPoolBuilderstruct - Add
Object::metricsmethod andMetricsstruct - Update
tokiodependency to version1.5.0 - Add
post_create,pre_recycleandpost_recyclehooks - Add
Pool::resizemethod - Add
managed_reexportsmacro
- Breaking: Replace
-
0.8.216 Jul 2021Release notes
Open source →- Add
deadpool-dieselto README - Add
Sync + Sendas supertrait toManager - Fix usage of
PhantomDatainPoolstruct:Pool is nowSync` regardless of the wrapper.
- Add
-
0.8.104 Jul 2021 -
0.8.020 May 2021Release notes
Open source →- Add support for closing pools
- Replace
crossbeam-queuebyMutex<VecDeque<_>> - Fix invalid
sizeandavailablecounts when recycling fails - Update
configdependency to version0.11 - Remove deprecated
from_envmethods - Add support for wrappers returned by the pool
- Use associated types for traits
-
0.7.026 Dec 2020 -
0.6.004 Nov 2020Release notes
Open source →- Update
tokiodependency to version0.3 - Update
crossbeam-queuedependency to version0.3 - Remove deprecated
deadpool::*types - Add
deadpool-memcachedto README
- Update
-
0.5.214 Jul 2020Release notes
Open source →- Deprecate
managed::Config::from_env - Deprecate
unmanaged::Config::from_env
- Deprecate
-
0.5.118 Jan 2020 -
0.5.016 Jan 2020Release notes
Open source →- Move current pool implementation into
managedmodule - Add unmanaged version of the
Poolwhich does not use aManagerto create and recycle objects. - Add feature flags
"managed"and"unmanaged"to enable only parts of this crate. - Add
max_sizeto poolStatus - Add support for
configcrate
- Move current pool implementation into
-
0.4.323 Dec 2019Release notes
Open source →- Add
std::error::Errorimplementation forPoolErrorandRecycleError. This makes it more convenient to use the?operator.
- Add
-
0.4.222 Dec 2019Release notes
Open source →- Replace
tokio::sync::mpsc::channelbycrossbeam_queue::ArrayQueuewhich gets rid of the mutex when fetching an object from the pool.
- Replace
-
0.4.119 Dec 2019 -
0.4.019 Dec 2019Release notes
Open source →- Add support for timeouts
- Make fields of pool status public
- Fix possible deadlock and make implementation a lot simpler by using
the new tokio
SemaphoreandReceiver::try_recv. - Add
Pool::try_getandPool::timeout_getfunctions
-
0.3.013 Dec 2019Release notes
Open source →- Add
deadpool-lapinto README - Add
deadpool-redisto README - Fix possible stale state and deadlock if a future calling
Pool::getis aborted. This is related to https://github.com/tokio-rs/tokio/issues/1898 - Make recycling more robust by changing the
Manager::recycleto a non consuming API.
- Add
-
0.2.302 Dec 2019Release notes
Open source →- Add documentation for
docs.rs - Remove
PoolInnerandPoolSizestruct from public interface - Improve example in
README.mdand crate root
- Add documentation for
-
0.2.202 Dec 2019 -
0.2.014 Nov 2019Release notes
Open source →- Split
deadpoolanddeadpool-postgresin separate crates instead of one with feature flags.
- Split
-
0.1.014 Nov 2019Release notes
Open source →- First release
<!-- next-url --> [Unreleased]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.13.0...HEAD [0.13.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.12.4...deadpool-v0.13.0 [0.12.4]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.12.3...deadpool-v0.12.4 [0.12.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.12.2...deadpool-v0.12.3 [0.12.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.12.1...deadpool-v0.12.2 [0.12.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.12.0...deadpool-v0.12.1 [0.12.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.11.2...deadpool-v0.12.0 [0.11.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.11.1...deadpool-v0.11.2 [0.11.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.11.0...deadpool-v0.11.1 [0.11.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.10.0...deadpool-v0.11.0 [0.10.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.5...deadpool-v0.10.0 [0.9.5]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.4...deadpool-v0.9.5 [0.9.4]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.3...deadpool-v0.9.4 [0.9.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.2...deadpool-v0.9.3 [0.9.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.1...deadpool-v0.9.2 [0.9.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.9.0...deadpool-v0.9.1 [0.9.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.8.2...deadpool-v0.9.0 [0.8.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.8.1...deadpool-v0.8.2 [0.8.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.8.0...deadpool-v0.8.1 [0.8.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.7.0...deadpool-v0.8.0 [0.7.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.6.0...deadpool-v0.7.0 [0.6.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.5.2...deadpool-v0.6.0 [0.5.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.5.1...deadpool-v0.5.2 [0.5.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.5.0...deadpool-v0.5.1 [0.5.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.4.4...deadpool-v0.5.0 [0.4.4]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.4.3...deadpool-v0.4.4 [0.4.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.4.2...deadpool-v0.4.3 [0.4.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.4.1...deadpool-v0.4.2 [0.4.1]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.4.0...deadpool-v0.4.1 [0.4.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.3.0...deadpool-v0.4.0 [0.3.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.2.3...deadpool-v0.3.0 [0.2.3]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.2.2...deadpool-v0.2.3 [0.2.2]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.2.1...deadpool-v0.2.2 [0.2.0]: https://github.com/deadpool-rs/deadpool/compare/deadpool-v0.1.0...deadpool-v0.2.0 [0.1.0]: https://github.com/deadpool-rs/deadpool/releases/tag/deadpool-v0.1.0