mobc
A generic connection pool, but async/.await
Note: mobc requires at least Rust 1.39.
Features
- Support async/.await syntax.
- Support tokio 0.2 and async-std 1.0 runtimes.
- Simple and fast customization
Adapter
Usage
If you are using tokio 0.2-alpha.6, use mobc 0.2.10.
[]
= "0.3.0"
foo demo
use tokio;
async