fastpool

Crates.iofastpool
lib.rsfastpool
version
sourcesrc
created_at2025-02-25 03:35:40.317706+00
updated_at2025-05-07 14:44:38.019812+00
descriptionThis crates implements a fast object pool for Async Rust.
homepagehttps://github.com/fast/fastpool
repositoryhttps://github.com/fast/fastpool
max_upload_size
id1568667
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
tison (tisonkun)

documentation

README

Fastpool

Crates.io Documentation MSRV 1.80 Apache 2.0 licensed Build Status

Overview

Fastpool provides fast and runtime-agnostic object pools for Async Rust.

You can read the docs page for a complete overview of the library.

Installation

Add the dependency to your Cargo.toml via:

cargo add fastpool

Documentation

Read the online documents at https://docs.rs/fastpool.

Minimum Supported Rust Version (MSRV)

This crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.

The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Fastpool 1.0 requires Rust 1.20.0, then Fastpool 1.0.z for all values of z will also require Rust 1.20.0 or newer. However, Fastpool 1.y for y > 0 may require a newer minimum version of Rust.

License

This project is licensed under Apache License, Version 2.0.

Origins

This library is derived from the deadpool crate with several dedicated considerations and a quite different mindset.

You can read the FAQ section on the docs page for detailed discussion on "Why does fastpool have no timeout config?" and "Why does fastpool have no before/after hooks?"

The postgres example and this issue thread is a significant motivation for this crate:

Commit count: 0

cargo fmt