NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1634 most downloaded on crates.io
Full-featured async (tokio-based) connection pool (like r2d2)
Latest stable
0.9.1
Last release 12 months ago
24 Nov 2025
Ships fairly regularly
a new release about every 7 months
Most releases are documented
notes for 16 of 22 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
22 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Work on bb8 is currently underfunded. If your employer relies on this project (or any others I maintain) in production, consider sponsoring my work.
Work on bb8 is currently underfunded. If your employer relies on this project (or any others I maintain) in production, consider sponsoring my work.
get_started statistic by @stormshield-fabs in #265bb8-tonic to README.md by @lewiszlw in #266Your coding agent can read these notes before it upgrades. Set up the MCP server →
Work on bb8 is currently underfunded. If your employer relies on this project (or any others I maintain) in production, consider sponsoring my work.
get_started statistic by @stormshield-fabs in https://github.com/djc/bb8/pull/265bb8-tonic to README.md by @lewiszlw in https://github.com/djc/bb8/pull/266bb8 0.9.0 (and bb8-postgres 0.9.0, bb8-redis 0.18.0) adopts RPITIT (first stabilized in Rust 1.75) to drop the dependency on async_trait . This comes
bb8 0.9.0 (and bb8-postgres 0.9.0, bb8-redis 0.18.0) adopts RPITIT (first stabilized in Rust 1.75) to drop the dependency on async_trait. This comes at the cost of raising the MSRV for these new releases to 1.75. If any bugs are found, I will consider releasing 0.8.x upgrades until such time as Tokio bumps its MSRV to 1.75.
Use Relaxed ordering mode by @pfreixes in https://github.com/djc/bb8/pull/210
Pool::add by @tneely in https://github.com/djc/bb8/pull/214Please consider sponsoring ongoing maintenance or contact @djc to discuss commercial support.
Include documentation for Statistics by @pfreixes in #209
Remove dependency on futures-channel in favour of tokio primitives by @aumetra in https://github.com/djc/bb8/pull/191
futures-channel in favour of tokio primitives by @aumetra in https://github.com/djc/bb8/pull/191Track PooledConnection state explicitly by @djc in https://github.com/djc/bb8/pull/189
Bump MSRV to 1.63 for tokio 1.30 by @djc in https://github.com/djc/bb8/pull/173
Full Changelog: https://github.com/djc/bb8/compare/v0.8.1...v0.8.2
Minor lints by @nyurik in https://github.com/djc/bb8/pull/126
Full Changelog: https://github.com/djc/bb8/compare/v0.8.0...v0.8.1
Restore ManageConnection::is_valid original signature by @arnodb in https://github.com/djc/bb8/pull/116
Full Changelog: https://github.com/djc/bb8/compare/v0.7.1...v0.8.0
Update README.md by @vkill in https://github.com/djc/bb8/pull/101
Pool::get_owned by @davidpdrsn in https://github.com/djc/bb8/pull/107Full Changelog: https://github.com/djc/bb8/compare/v0.7.0...v0.7.1
This release updates tokio to 1.0. Additionally, it contains one additional feature:
This release updates tokio to 1.0. Additionally, it contains one additional feature:
I simultaneously published bb8-postgres 0.7.0 and bb8-redis 0.8.0. This branch is most likely to get bug fixes and additional features. The 0.5.x branch (tokio 0.2) and 0.6.x branch (tokio 0.3) will probably get less maintenance, depending on the uptake of tokio 1.
This is a bug fix release for the 0.6.x line (based on tokio 0.3). It fixes an issue where pools configured with a maximum size could get stuck in cas
This is a bug fix release for the 0.6.x line (based on tokio 0.3). It fixes an issue where pools configured with a maximum size could get stuck in case futures were cancelled before completion. Thanks to @lassipulkkinen for reporting the issue (in #67) and creating a minimal reproduction which led me to the fix in #91.
Nothing published for this version
Hot on the heels of yesterday's 0.5.0 release, I've just released 0.6.0. These are the only functional changes:
Hot on the heels of yesterday's 0.5.0 release, I've just released 0.6.0. These are the only functional changes:
parking_lot feature, since bb8 depends on parking_lot anywayFor now, there is no bb8-redis 0.6 release, since there is no tokio 0.3-compatible version of the redis crate yet.
As a reminder, depending on the uptake of tokio 0.3.0 in the ecosystem, I will maintain both of these releases for a while; most features and bug fixes, for the foreseeable future, will be made against both branches.
This is a bug fix release for the 0.5.x line (based on tokio 0.2). It fixes an issue where pools configured with a maximum size could get stuck in cas
This is a bug fix release for the 0.5.x line (based on tokio 0.2). It fixes an issue where pools configured with a maximum size could get stuck in case futures were cancelled before completion. Thanks to @lassipulkkinen for reporting the issue (in #67) and creating a minimal reproduction which led me to the fix in #91.
Nothing published for this version
After 7 months, there is finally a new release of bb8, the fully-featured connection pool for (tokio-based) async connections. This release took a whi
After 7 months, there is finally a new release of bb8, the fully-featured connection pool for (tokio-based) async connections. This release took a while due to issues with hanging connections (described in #67), where some recent fixes appear to have solved the reported issues. While this release depends on tokio 0.2, I will release a 0.6 set of releases soon which relies on tokio 0.3 instead (update: released). Maintenance of the 0.5 branch will continue for a while, depending on the uptake of tokio 0.3 in the ecosystem.
Breaking changes:
ConnectionManager::is_valid() now takes a &mut PooledConnection<'_, M::Connection>run() method was removed in favor of the more ergonomic get() methodOther changes:
parking_lot::Mutex instead of tokio's async Mutex (fixes #74)State type became non-exhaustiveNothing published for this version
Nothing published for this version
bb8 is an r2d2-like connection pooling solution for the async/await world. This is the first release from a new maintainer: since @khuey doesn't have
bb8 is an r2d2-like connection pooling solution for the async/await world. This is the first release from a new maintainer: since @khuey doesn't have much time, @djc has become the primary maintainer.
std::future::Future and async/awaitget() API (thanks to @elpiel)Any feedback is welcome, please file any issues you may have including comments on (lack of) documentation, example code that would help you work with this projects, and of course any bugs.
Nothing published for this version
Nothing published for this version
One column per quarter.