Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 618 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 618 Bytes

A generic resource pool for the Tokio ecosystem.

Documentation

See the documentation hosted on docs.rs.

Alternatives

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.