- 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
- Update
tokiodependency to version1
- Update
tokiodependency to version0.3 - Update
crossbeam-queuedependency to version0.3 - Remove deprecated
deadpool::*types - Add
deadpool-memcachedto README
- Deprecate
managed::Config::from_env - Deprecate
unmanaged::Config::from_env
- Add
managed::Object::takemethod
- 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
- Add
std::error::Errorimplementation forPoolErrorandRecycleError. This makes it more convenient to use the?operator.
- Replace
tokio::sync::mpsc::channelbycrossbeam_queue::ArrayQueuewhich gets rid of the mutex when fetching an object from the pool.
- Make
Pool::timeout_getpublic
- 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
- 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 tokio-rs/tokio#1898 - Make recycling more robust by changing the
Manager::recycleto a non consuming API.
- Add documentation for
docs.rs - Remove
PoolInnerandPoolSizestruct from public interface - Improve example in
README.mdand crate root
- Update to
tokio 0.2
- Version skipped; only
tokio-postgreswas updated.
- Split
deadpoolanddeadpool-postgresin separate crates instead of one with feature flags.
- First release