Registry / networking / mobc
library0.9.0rscratesunverified

A generic connection pool with async/await support

# Cargo.toml [dependencies] mobc = "0.9.0"
INSTALL
IMPORT
SIG · MOBC
M
mobc
networkingrustv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pool
use mobc::Pool;

Create a generic async connection pool

use mobc::Pool; use mobc::Connection; fn main() { // Requires an async runtime and a manager implementation println!("Mobc pool ready"); }
Debug
Known issues
gotchaRequires an async runtime (e.g., tokio or async-std) to function
fix
Add tokio or async-std as a dependency and use #[tokio::main] or similar
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources