Cargo Features
db-pool has no features set by default.
[dependencies]
db-pool = { version = "0.4.0", features = ["diesel-mysql", "diesel-postgres", "mysql", "postgres", "diesel-async-bb8", "diesel-async-deadpool", "diesel-async-mobc", "diesel-async-mysql", "diesel-async-postgres", "sea-orm-mysql", "sea-orm-postgres", "sqlx-mysql", "sqlx-postgres", "tokio-postgres", "tokio-postgres-bb8", "tokio-postgres-deadpool", "tokio-postgres-mobc", "deadpool-postgres", "mobc-postgres"] }
- _sync _sync-mysql? _sync-postgres? diesel-mysql? diesel-postgres?
-
Sync
Enables r2d2
Affects
db-pool::sync
… - _sync-mysql diesel-mysql? mysql? = _sync
-
Sync backends
Affects
statement::mysql
… - diesel-mysql = _sync, _sync-mysql
- diesel-postgres = _sync, _sync-postgres
-
Enables postgres and r2d2 of diesel
Affects
postgres::diesel
… - _sync-postgres diesel-postgres? postgres? = _sync
-
Affects
statement::postgres
… - mysql = _sync-mysql
-
Other sync MySQL backends
Enables r2d2_mysql
- postgres = _sync-postgres
-
Other sync Postgres backends
Enables r2d2_postgres
Affects
postgres::postgres
… - _async _async-mysql? _async-postgres? diesel-async-bb8? diesel-async-deadpool? diesel-async-mobc? diesel-async-mysql? diesel-async-postgres?
-
Async
Enables async-trait, bb8, and futures, rt-multi-thread of tokio
Affects
db-pool::r#async
… - _async-mysql diesel-async-mysql? sea-orm-mysql? sqlx-mysql? = _async
-
Async backends
Affects
statement::mysql
… - _async-postgres diesel-async-postgres? sea-orm-postgres? sqlx-postgres? tokio-postgres? = _async
-
Affects
statement::postgres
… - diesel-async-bb8 = _async
-
Diesel-async pools
Enables bb8 and diesel, bb8 of diesel-async
- diesel-async-deadpool = _async
-
Enables diesel, managed of deadpool ^0.9.5, deadpool of diesel-async
- diesel-async-mobc = _async
-
Enables diesel, mobc, mobc of diesel-async
Affects
diesel::mobc
… - diesel-async-mysql = _async, _async-mysql
-
Diesel-async backends
Enables diesel, mysql of diesel-async
- diesel-async-postgres = _async, _async-postgres
-
Enables diesel, postgres of diesel-async
- sea-orm-mysql = _async-mysql
-
SeaORM backends
Enables sqlx-mysql of sea-orm
- sea-orm-postgres = _async-postgres
-
Enables sqlx-postgres of sea-orm
- sqlx-mysql = _async-mysql
-
sqlx backends
Affects
mysql::sqlx
… - sqlx-postgres = _async-postgres
-
Affects
postgres::sqlx
… - tokio-postgres tokio-postgres-bb8? tokio-postgres-deadpool? tokio-postgres-mobc? = _async-postgres
-
tokio-postgres backend
Enables tokio-postgres
- tokio-postgres-bb8 = tokio-postgres
-
tokio-postgres pools
Enables bb8 and bb8-postgres
- tokio-postgres-deadpool = tokio-postgres
-
Enables deadpool-postgres, managed of deadpool ^0.9.5
- tokio-postgres-mobc = tokio-postgres
-
Enables mobc and mobc-postgres
Affects
tokio_postgres::mobc
… - deadpool-postgres
-
Enables deadpool-postgres
- mobc-postgres
-
Enables mobc-postgres