boson-backend-mem
In-memory QueueBackend adapter for tests, CI, and local development.
Role
Implements QueueBackend using portable DTOs from boson-core — no network I/O or host-specific persistence.
Used by:
boson-testkitdefaultBootstrapSession- Inline integration tests and
boson-e2eCI slice boson-benchbackend=memcampaigns
Compose
use Arc;
use ;
let backend = new;
let boson = builder
.queue_backend
.execution_context_factory
.build?;
Bootstrap
use install_default_mem_backend;
use default_backend_from_global;
let _backend = install_default_mem_backend;
let resolved = default_backend_from_global?;
Enable via boson
Available via the boson crate feature mem (forwards this adapter).
Related crates
boson— enable withfeatures = ["mem"]boson-core—QueueBackendtrait definition