Cargo Features

[dependencies]
cooklang-sync-server = { version = "0.1.6", default-features = false, features = ["database_sqlite", "database_postgres"] }
default = database_sqlite

The database_sqlite feature is set by default whenever cooklang-sync-server is added without default-features = false somewhere in the dependency tree.

database_sqlite default

Enables rusqlite ^0.30.0, returning_clauses_for_sqlite_3_35 and sqlite of diesel, diesel_sqlite_pool of rocket_sync_db_pools

Affects database::DieselBackend, db::DieselBackend

database_postgres

Enables postgres of diesel, diesel_postgres_pool of rocket_sync_db_pools

Affects database::DieselBackend, db::DieselBackend

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.

rocket_sync_db_pools database_postgres? database_sqlite
diesel database_postgres? database_sqlite
rusqlite database_sqlite

Enables rusqlite ^0.30.0