NOTE: This project has been archived. Consider using the bb8 or mobc connection managers.
Lapin support for the r2d2 connection pool.
Usage
See the documentation of r2d2 for the details on how to use the connection pool.
use ConnectionProperties;
use LapinConnectionManager;
use thread;
Build-time Requirements
The crate is tested on ubuntu-latest
against the following rust versions: nightly, beta, stable and 1.45.0.
It is possible that it works with older versions as well but this is not tested.
Please see the details of the r2d2 and lapin crates about their requirements.