Cargo Features
rocket_db_pools has no features set by default.
[dependencies]
rocket_db_pools = { version = "0.2.0", features = ["deadpool_postgres", "deadpool_redis", "sqlx_mysql", "sqlx_postgres", "sqlx_sqlite", "sqlx_macros", "diesel_postgres", "diesel_mysql", "mongodb"] }
- deadpool_postgres = deadpool, deadpool-postgres
-
deadpool features
- deadpool_redis = deadpool, deadpool-redis
- sqlx_mysql = sqlx
-
sqlx features
- sqlx_postgres = sqlx
- sqlx_sqlite = sqlx
- sqlx_macros
- diesel_postgres = deadpool_09, diesel
-
diesel features
Enables deadpool and postgres of diesel-async ^0.4.1
Affects
diesel::PgPool
,rocket_db_pools::diesel
… - diesel_mysql = deadpool_09, diesel
-
Enables deadpool and mysql of diesel-async ^0.4.1
Affects
diesel::MysqlPool
,rocket_db_pools::diesel
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- mongodb implicit feature
-
Enables mongodb ^2
mongodb:
The official MongoDB driver for Rust
- deadpool-postgres deadpool_postgres?
-
Enables deadpool-postgres ^0.13.2
- deadpool-redis deadpool_redis?
-
Enables deadpool-redis ^0.15
- deadpool deadpool_postgres? deadpool_redis?
- deadpool_09 diesel_mysql? diesel_postgres?
-
Enables deadpool ^0.9.5
- diesel diesel_mysql? diesel_postgres?
- diesel-async diesel_mysql? diesel_postgres?
-
Enables diesel-async ^0.4.1
- sqlx sqlx_macros? sqlx_mysql? sqlx_postgres? sqlx_sqlite?
-
Enables sqlx ^0.7