Documentation
[dependencies]

easy-pool = "0.1.0"

Pools :

Simple example

use easy_pool::PoolMutex;
use std::sync::Arc;

let pool = Arc::new(PoolMutex::<Vec<u8>>::new());
let val = pool.create_with(|| Vec::with_capacity(1024));
drop(val);
// return to the pool