{"id":28589635,"url":"https://github.com/fast/fastpool","last_synced_at":"2025-06-11T08:10:50.042Z","repository":{"id":279340678,"uuid":"927014815","full_name":"fast/fastpool","owner":"fast","description":"A fast runtime-agnostic object pool for async rust.","archived":false,"fork":false,"pushed_at":"2025-05-19T04:08:41.000Z","size":103,"stargazers_count":33,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T05:21:41.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.rs/fastpool/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-04T09:00:40.000Z","updated_at":"2025-05-19T04:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"28c3de5e-e40a-40cf-ba7e-4dad7d5c6962","html_url":"https://github.com/fast/fastpool","commit_stats":null,"previous_names":["fast/fastpool"],"tags_count":9,"template":false,"template_full_name":"fast/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Ffastpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Ffastpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Ffastpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Ffastpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fast","download_url":"https://codeload.github.com/fast/fastpool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fast%2Ffastpool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259227958,"owners_count":22824904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T08:10:44.308Z","updated_at":"2025-06-11T08:10:50.028Z","avatar_url":"https://github.com/fast.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastpool\n\n[![Crates.io][crates-badge]][crates-url]\n[![Documentation][docs-badge]][docs-url]\n[![MSRV 1.80][msrv-badge]](https://www.whatrustisit.com)\n[![Apache 2.0 licensed][license-badge]][license-url]\n[![Build Status][actions-badge]][actions-url]\n\n[crates-badge]: https://img.shields.io/crates/v/fastpool.svg\n[crates-url]: https://crates.io/crates/fastpool\n[docs-badge]: https://docs.rs/fastpool/badge.svg\n[msrv-badge]: https://img.shields.io/badge/MSRV-1.80-green?logo=rust\n[docs-url]: https://docs.rs/fastpool\n[license-badge]: https://img.shields.io/crates/l/fastpool\n[license-url]: LICENSE\n[actions-badge]: https://github.com/fast/fastpool/workflows/CI/badge.svg\n[actions-url]:https://github.com/fast/fastpool/actions?query=workflow%3ACI\n\n## Overview\n\nFastpool provides fast and runtime-agnostic object pools for Async Rust.\n\nYou can read [the docs page](https://docs.rs/fastpool/*/fastpool/) for a complete overview of the library.\n\n## Installation\n\nAdd the dependency to your `Cargo.toml` via:\n\n```shell\ncargo add fastpool\n```\n\n## Documentation\n\nRead the online documents at https://docs.rs/fastpool.\n\n## Minimum Supported Rust Version (MSRV)\n\nThis crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.\n\nThe 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 \u003e 0 may require a newer minimum version of Rust.\n\n## License\n\nThis project is licensed under [Apache License, Version 2.0](LICENSE).\n\n## Origins\n\nThis library is derived from the [deadpool](https://docs.rs/deadpool/) crate with several dedicated considerations and a quite different mindset.\n\nYou can read the FAQ section on [the docs page](https://docs.rs/fastpool/*/fastpool/#faq) for detailed discussion on \"Why does fastpool have no timeout config?\" and \"Why does fastpool have no before/after hooks?\"\n\nThe [postgres example](examples/postgres) and [this issue thread](https://github.com/launchbadge/sqlx/issues/2276#issuecomment-2687157357) is a significant motivation for this crate:\n\n* Keeps the crate runtime-agnostic (see also [\"Why does fastpool have no timeout config?\"](https://docs.rs/fastpool/*/fastpool/#why-does-fastpool-have-no-timeout-config))\n* Keeps the abstraction really dead simple (see also [\"Why does fastpool have no before/after hooks?\"](https://docs.rs/fastpool/*/fastpool/#why-does-fastpool-have-no-beforeafter-hooks))\n* Returns an `Arc\u003cPool\u003e` on creation so that maintenance could be triggered with a weak reference. This helps applications to teardown (drop) the pool easily with Rust's built-in RAII mechanism. See also [this example](https://docs.rs/fastpool/*/fastpool/bounded/struct.Pool.html#method.retain).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffast%2Ffastpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffast%2Ffastpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffast%2Ffastpool/lists"}