Cargo Features
[dependencies]
cooklang-sync-server = { version = "0.2.1", default-features = false, features = ["database_sqlite", "database_postgres"] }
- default = database_sqlite
-
The
database_sqlite
feature is set by default whenevercooklang-sync-server
is added without
somewhere in the dependency tree.default-features = false - database_sqlite default
-
Enables rusqlite, 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.