swimming
swimming is a no_std, no_alloc, high-performance, asynchronous, thread-safe, and fair connection pooling crate for
Rust. It provides a simple and efficient way to manage and reuse connections in your applications.
Features
no_stdandno_alloccompatibility- High performance with lazy and eager connection initialization
- Asynchronous and thread-safe operations
- Fair connection retrieval mechanism
- Flexible and extensible design
- Robust error handling
- Environment agnostic
Installation
To use swimming in your Rust project, add the following to your Cargo.toml file:
[]
= "0.1.3"
Usage
Here's a simple example of how to use swimming:
use ;
use SocketAddr;
;
async
For more detailed usage examples and API documentation, please refer to the Pool's documentation.
License
This crate is licensed under the MIT or Apache 2.0 license at your preference.