| Crates.io | tokio-resource-pool |
| lib.rs | tokio-resource-pool |
| version | 0.5.0-alpha.1 |
| created_at | 2019-05-22 20:16:47.709991+00 |
| updated_at | 2019-09-22 14:54:11.412322+00 |
| description | A generic resource pool for the Tokio ecosystem. |
| homepage | |
| repository | https://github.com/animalsiknow/tokio-resource-pool |
| max_upload_size | |
| id | 136148 |
| size | 29,468 |
A generic resource pool for the Tokio ecosystem.
See the documentation hosted on docs.rs.
There is another resource pool called bb8. It has two significant differences.
The API is different. This library gives you a struct that dereferences to your resource while bb8 turns a closure from a resource to a Future that yields the resource back.
Reaping is done differently. This library reaps resources as soon as they are returned, while bb8 reaps them at a given interval.