Cargo Features

rocket_sync_db_pools has no features set by default.

[dependencies]
rocket_sync_db_pools = { version = "0.1.0", features = ["diesel_sqlite_pool", "diesel_postgres_pool", "diesel_mysql_pool", "sqlite_pool", "postgres_pool", "memcache_pool"] }
diesel_sqlite_pool

Enables r2d2 and sqlite of diesel

Affects rocket_sync_db_pools::example

diesel_postgres_pool

Enables postgres and r2d2 of diesel

diesel_mysql_pool

Enables mysql and r2d2 of diesel

sqlite_pool = r2d2_sqlite, rusqlite
postgres_pool = postgres, r2d2_postgres
memcache_pool = memcache, r2d2-memcache

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.

diesel diesel_mysql_pool? diesel_postgres_pool? diesel_sqlite_pool?
postgres postgres_pool?
r2d2_postgres postgres_pool?
rusqlite sqlite_pool?

Enables rusqlite ^0.29.0

r2d2_sqlite sqlite_pool?

Enables r2d2_sqlite ^0.22.0

memcache memcache_pool?

Enables memcache ^0.15

r2d2-memcache memcache_pool?