Deadpool is a dead simple async pool for connections and objects of any type.
This crate implements a deadpool
manager for async-memcached
.
use deadpool_memcached::Manager;
#[tokio::main]
async fn main() {
let manager = Manager::new("localhost:11211");
let mut client = pool.get().await.unwrap();
println!("version: {:?}", client.version().await);
}
Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT).