Cargo Features
[dependencies]
rust_bus = { version = "3.0.6", default-features = false, features = ["logging", "sea-orm-postgres", "sea-orm-mysql", "sqlx-postgres", "sqlx-mysql", "context"] }
- default = logging
-
The
loggingfeature is set by default wheneverrust_busis added withoutsomewhere in the dependency tree.default-features = false - logging default
-
Enables log
- sea-orm-postgres = _db_any, _db_postgres, _db_sea_orm
-
Enables sqlx-postgres of sea-orm
Affects
dispatch::dispatch_db_sea_postgres,models::pg_bus_jobs,models::pg_bus_jobs_peers… - sea-orm-mysql = _db_any, _db_sea_orm
-
Enables sqlx-mysql of sea-orm
Affects
dispatch::dispatch_db_sea_mysql,models::mysql_bus_jobs,models::mysql_bus_jobs_peers… - sqlx-postgres = _db_any, _db_postgres, _db_sqlx
-
Affects
ctx::IBusContext.txn,event_handler::IEventHandler.handle,event_handler_database::IEventHandlerDatabase.handle,dispatch::dispatch_db_sqlx_postgres… - sqlx-mysql = _db_any, _db_sqlx
-
Affects
ctx::IBusContext.txn,event_handler::IEventHandler.handle,event_handler_database::IEventHandlerDatabase.handle,dispatch::dispatch_db_sqlx_mysql… - context
-
Affects
bus::event,event_handler::IEventHandler,contracts::ctx,registration::types,registration::EventHandlerRegistration.context_identity,bus::event,bus::event,event_handler::IEventHandler… - _db_postgres sea-orm-postgres? sqlx-postgres?
-
Affects
models::sea_orm_active_enums_pg… - _db_sea_orm sea-orm-mysql? sea-orm-postgres?
-
Enables sea-orm
Affects
ctx::IBusContext.txn,ctx::ExampleBusContext,event_handler::IEventHandler.handle,event_handler_database::IEventHandlerDatabase.handle,rust_bus::models,bus::event… - _db_sqlx sqlx-mysql? sqlx-postgres?
-
Enables sqlx ^0.8
Affects
ctx::ExampleBusContext,bus::event… - _db_any sea-orm-mysql? sea-orm-postgres? sqlx-mysql? sqlx-postgres?
-
Enables twox-hash
Affects
bus::event,ctx::IBusContext,event_handler::IEventHandler,contracts::event_handler_database,contracts::database_unique,dispatch::dispatch_db,registration::DatabaseHandlerFn,registration::types.MemoryHandlerFn,registration::EventDatabaseHandlerRegistration,registration::DATABASE_HANDLERS,registration::DATABASE_HANDLERS_BY_HASH,rust_bus::workers,base::setup_bus,event_handler::IEventHandler…