bb8
Full-featured async (tokio-based) connection pool (like r2d2)
0.9.1
34M downloads/mo
#1558 most downloaded on crates.io
djc/bb8
What this package is like to depend on
Last release 9 months ago
24 Nov 2025
Ships fairly regularly
a new release about every 7 months
Rarely documented
notes for 5 of 22 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
22 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
22 releases · Mar 2019 to Nov 2025Releases
latest 22-
0.9.124 Nov 2025Release notes
Open source →Work on bb8 is currently underfunded. If your employer relies on this project (or any others I maintain) in production, consider sponsoring my work.
What's Changed
- Use portable-atomic when AtomicU64 is not available by @flaviojs in #233
- Replace mention of bb8-diesel with diesel_async in README.md by @zekesonxx in #245
- Add LICENSE files by @djc in #248
- Ignore advisory for another transitive dependency by @djc in #252
- Forward errors on retry, too by @djmitche in #258
- Fix conditional compilation of portable-atomic by @jayvdb in #264
- Provide
get_startedstatistic by @stormshield-fabs in #265 - Add
bb8-tonicto README.md by @lewiszlw in #266 - Config by @djc in #268
-
0.9.009 Dec 2024Release notes
Open source →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.What's Changed
-
0.8.617 Oct 2024Release notes
Open source →What's Changed
- Use Relaxed ordering mode by @pfreixes in #210
- Bump MSRV to 1.70 (for tokio 1.39) by @djc in #213
- Add
Pool::addby @tneely in #214 - Add FUNDING metadata by @djc in #222
- Change notify_waiters to notify_one on broken conns by @tneely in #225
- Polish for fixes from #223 and #224 by @djc in #226
Please consider sponsoring ongoing maintenance or contact @djc to discuss commercial support.
-
0.8.514 Jun 2024Release notes
Open source → -
0.8.414 Jun 2024Release notes
Open source →What's Changed
- Remove dependency on
futures-channelin favour oftokioprimitives by @aumetra in #191 - Fix #167: Notify waiters when dropping a bad connection from the pool by @xortive in #194
- Provide statistics for get operations by @pfreixes in #198
- Add new get wait time statistic by @pfreixes in #203
- Adds new statistics attributes for tracking connections closed by @pfreixes in #205
- Adds new statistics attributes for reaped connections by @pfreixes in #206
- Adds new connections_created statistic by @pfreixes in #207
- Remove dependency on
-
0.8.301 Feb 2024Nothing published for this version
-
0.8.229 Jan 2024Nothing published for this version
-
0.8.131 May 2023Nothing published for this version
-
0.8.028 Mar 2022Nothing published for this version
-
0.7.111 Aug 2021Nothing published for this version
-
0.7.027 Dec 2020Nothing published for this version
-
0.6.222 Dec 2020Nothing published for this version
-
0.6.117 Nov 2020Nothing published for this version
-
0.6.016 Nov 2020Nothing published for this version
-
0.5.222 Dec 2020Nothing published for this version
-
0.5.117 Nov 2020Nothing published for this version
-
0.5.015 Nov 2020Nothing published for this version
-
0.4.221 Apr 2020Nothing published for this version
-
0.4.110 Apr 2020Nothing published for this version
-
0.4.017 Jan 2020Nothing published for this version
-
0.3.119 Jul 2019Nothing published for this version
-
0.3.017 Mar 2019Nothing published for this version