boson-backend-sql-common
Shared SQL QueueBackend implementation for SQLite and PostgreSQL.
Role
SqlQueueBackend— connect, schema bootstrap, and trait implementationSqlDialect/SqlPool— engine selection- Row mapping helpers in
row.rs - Used by
boson-backend-sqliteandboson-backend-postgres
Compose
use Arc;
use ;
let backend = new;
let boson = builder
.queue_backend
.execution_context_factory
.build?;
Related crates
boson-backend-sqlite— thin SQLite wrapperboson-backend-postgres— thin PostgreSQL wrapperboson-core—QueueBackendtrait definition