toml
[dependencies]
easy-pool = "0.1.0"
Pools :
PoolArrayQueue PoolMutex PoolSegQueue
```rust, norun use easypool::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
```