PackageTrack
Sign in Get early access

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 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 33
  1. 0.13.0 17 Feb 2026
    Release notes

    Release deadpool 0.13.0 and deadpool-sync 0.2.0

    Open source →
    Release notes
    • Update deadpool-runtime dependency to version 0.3
    • Remove SpawnBlockingError re-export
    Open source →
  2. 0.12.4 02 Feb 2026 withdrawn
    Release notes

    Release deadpool 0.12.4

    Open source →
    Release notes
    • Bump up MSRV to 1.85 and Rust edition to 2024
    • Remove lazy_static dependency
    • Update deadpool-runtime dependency to version 0.2
    • Add support for smol version 2 as runtime

    This release was yanked because deadpool publicly re-exports deadpool-runtime::SpawnBlockingError. That type was changed in deadpool-runtime 0.2, making the change a breaking one for deadpool as well. Supporting the new runtime therefore requires a breaking deadpool release.

    Open source →
  3. 0.12.3 02 Sep 2025
    Release notes
    • Add unique id to objects which can be read via the Object::id method
    • Add WeakPool<T> and Pool::weak() for non-owning, upgradeable pool references.
    • Use num_cpus::get() * 2 as default pool size instead of num_cpu::get_physical() * 4 which 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 improve Pool creation performance.
    Open source →
  4. 0.12.2 02 Feb 2025
    Release notes
    • Update itertools dependency to version 0.13.0
    • Change predicate parameter of Pool::retain method to FnMut
    • Add RetainResult as return value of Pool::retain method
    • Fix panic in Pool::resize method caused by shrinking and growing the pool in quick succession.
    Open source →
  5. 0.12.1 07 May 2024
    Release notes
    • Add WASM support
    Open source →
  6. 0.12.0 04 May 2024
    Release notes
    • Add Send to Manager::Type and Manager::Error associated types
    • Add Send to Manager::create and Manager::recycle return types
    Open source →
  7. 0.11.2 10 Apr 2024
    Release notes
    • Make Timeouts::new and Timeouts::wait_millis functions const fns
    Open source →
  8. 0.11.1 06 Apr 2024
    Release notes
    • Remove unused console dependency
    Open source →
  9. 0.11.0 31 Mar 2024
    Release notes
    • Remove async_trait dependency
    • Bump up MSRV to 1.75
    Open source →
  10. 0.10.0 25 Sep 2023
    Release notes
    • Remove unreachable enum variant BuildError::Backend
    • Split Status.available into available and waiting.
    • Add QueueMode configuration option for choosing between a FIFO (default) and LIFO queue.
    • Remove HookError::Continue and HookError::Abort variants replacing it with the contents of HookErrorCause. Returning a HookError from a post_create hook causes the Pool::get operation to fail while returning it from a pre_recycle or post_recycle hook the operation continues.
    • Add metrics argument to Manager::recycle method.
    • Remove deprecated managed::sync module.
    • Remove deprecated managed::Pool::try_get method.
    • Bump up MSRV to 1.63 to match the one of tokio.
    Open source →
  11. 0.9.5 20 May 2022
    Release notes
    • Fix bug causing the pool to exceed its max_size in the case of a recycling error.
    • Fix panic caused by an integer overflow in the case of a failing post_create hook.
    Open source →
  12. 0.9.4 27 Apr 2022
    Release notes
    • Fix HookError and HookErrorCause in re-exports
    Open source →
  13. 0.9.3 12 Apr 2022
    Release notes
    • Add Pool::retain method
    • Fix Pool::get_timeouts method
    • Deprecate managed::Pool::try_get
    • Add Pool::timeouts method
    Open source →
  14. 0.9.2 15 Nov 2021
    Release notes
    • PoolConfig now implements Serialize
    Open source →
  15. 0.9.1 26 Oct 2021
    Release notes
    • Deprecate managed::sync module in favor of deadpool-sync crate
    • Extract runtime module as separate deadpool-runtime crate
    Open source →
  16. 0.9.0 18 Oct 2021
    Release notes
    • Breaking: Replace config feature with serde (opted out by default)
    • Fix std::error::Error::source implementations for library errors
    • Add Runtime::spawn_blocking method
    • Add Runtime::spawn_blocking_background method
    • Remove Runtime::None in favor of Option<Runtime>
    • Remove Pool::new method
    • Add Pool::builder method and PoolBuilder struct
    • Add Object::metrics method and Metrics struct
    • Update tokio dependency to version 1.5.0
    • Add post_create, pre_recycle and post_recycle hooks
    • Add Pool::resize method
    • Add managed_reexports macro
    Open source →
  17. 0.8.2 16 Jul 2021
    Release notes
    • Add deadpool-diesel to README
    • Add Sync + Send as supertrait to Manager
    • Fix usage of PhantomData in Pool struct: Pool is now Sync` regardless of the wrapper.
    Open source →
  18. 0.8.1 04 Jul 2021
    Release notes
    • Add Object::pool method
    Open source →
  19. 0.8.0 20 May 2021
    Release notes
    • Add support for closing pools
    • Replace crossbeam-queue by Mutex<VecDeque<_>>
    • Fix invalid size and available counts when recycling fails
    • Update config dependency to version 0.11
    • Remove deprecated from_env methods
    • Add support for wrappers returned by the pool
    • Use associated types for traits
    Open source →
  20. 0.7.0 26 Dec 2020
    Release notes
    • Update tokio dependency to version 1
    Open source →
  21. 0.6.0 04 Nov 2020
    Release notes
    • Update tokio dependency to version 0.3
    • Update crossbeam-queue dependency to version 0.3
    • Remove deprecated deadpool::* types
    • Add deadpool-memcached to README
    Open source →
  22. 0.5.2 14 Jul 2020
    Release notes
    • Deprecate managed::Config::from_env
    • Deprecate unmanaged::Config::from_env
    Open source →
  23. 0.5.1 18 Jan 2020
    Release notes
    • Add managed::Object::take method
    Open source →
  24. 0.5.0 16 Jan 2020
    Release notes
    • Move current pool implementation into managed module
    • Add unmanaged version of the Pool which does not use a Manager to create and recycle objects.
    • Add feature flags "managed" and "unmanaged" to enable only parts of this crate.
    • Add max_size to pool Status
    • Add support for config crate
    Open source →
  25. 0.4.3 23 Dec 2019
    Release notes
    • Add std::error::Error implementation for PoolError and RecycleError. This makes it more convenient to use the ? operator.
    Open source →
  26. 0.4.2 22 Dec 2019
    Release notes
    • Replace tokio::sync::mpsc::channel by crossbeam_queue::ArrayQueue which gets rid of the mutex when fetching an object from the pool.
    Open source →
  27. 0.4.1 19 Dec 2019
    Release notes
    • Make Pool::timeout_get public
    Open source →
  28. 0.4.0 19 Dec 2019
    Release notes
    • Add support for timeouts
    • Make fields of pool status public
    • Fix possible deadlock and make implementation a lot simpler by using the new tokio Semaphore and Receiver::try_recv.
    • Add Pool::try_get and Pool::timeout_get functions
    Open source →
  29. 0.3.0 13 Dec 2019
    Release notes
    • Add deadpool-lapin to README
    • Add deadpool-redis to README
    • Fix possible stale state and deadlock if a future calling Pool::get is aborted. This is related to https://github.com/tokio-rs/tokio/issues/1898
    • Make recycling more robust by changing the Manager::recycle to a non consuming API.
    Open source →
  30. 0.2.3 02 Dec 2019
    Release notes
    • Add documentation for docs.rs
    • Remove PoolInner and PoolSize struct from public interface
    • Improve example in README.md and crate root
    Open source →
  31. 0.2.2 02 Dec 2019
    Release notes
    • Update to tokio 0.2
    Open source →
  32. 0.2.0 14 Nov 2019
    Release notes
    • Split deadpool and deadpool-postgres in separate crates instead of one with feature flags.
    Open source →
  33. 0.1.0 14 Nov 2019
    Release notes
    • 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

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive