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
- diesel_mysql_pool
- 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.