NOTE: Use of this crate should be deprecated in favor of diesel-async's deadpool integration.
A deadpool backend implementation for the upcoming diesel-async crate. This provides async connection pooling of async diesel connections. It currently only supports the tokio async runtime as that's the only one supported by diesel-async.
The two main structs exported are:
Manager: implements thedeadpool::managed::ManagertraitAsyncDieselConnection- modeled off of deadpool-sync's SyncWrapper, this is the object which will effectively be returned fromdeadpool::managed::Pool.getand can access a mutable reference to anAsyncPgConnection/AsyncMysqlConnectionthrough a callback passed to itsinteractmethod