Skip to content
/ flexc Public

A generic asynchronous connection pool for Rust

License

Notifications You must be signed in to change notification settings

biluohc/flexc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flexc

A generic asynchronous connection pool

Features

  • Support async/.await syntax
  • Support both tokio and async-std/smol
  • High performance
  • Easy to use

Usage

[dependencies]
# default-feature is tokio-rt
flexc = { version = "x", git = "https://github.com/biluohc/flexc" }

# For async-std runtime
# flexc = { version = "x", git = "https://github.com/biluohc/flexc", default-features = false, features = ["async-rt"] }

Other projects

  1. mobc: An asynchronous connection pool and rich features buts slightly high latenncy.
  2. deadpool: asynchronous and high performance buts Builder is very troublesome.
  3. bb8: An asynchronous connection pool provides the same configuration options as r2d2.
  4. r2d2: A synchronized connection pool, not recommended.
  5. redis-rs: The most used Redis client, flexc-redis based on it.
  6. redis-async-rs: Another Redis client.

About

A generic asynchronous connection pool for Rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages