A generic asynchronous connection pool
- Support async/.await syntax
- Support both
tokio
andasync-std/smol
- High performance
- Easy to use
[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"] }
- mobc: An asynchronous connection pool and rich features buts slightly high latenncy.
- deadpool: asynchronous and high performance buts Builder is very troublesome.
- bb8: An asynchronous connection pool provides the same configuration options as r2d2.
- r2d2: A synchronized connection pool, not recommended.
- redis-rs: The most used Redis client, flexc-redis based on it.
- redis-async-rs: Another Redis client.