blazingly-queue
Runtime-neutral queue seam for the Blazingly framework: publish/receive/ack/nack contracts, an in-memory conformance adapter, and a shared worker loop.
This crate defines the Queue trait vendor adapters implement, the
Message and Delivery payload types, the QueueClient wrapper that keeps
application code vendor-neutral, MemoryQueue — a deterministic in-memory
adapter whose visibility delays run on a logical clock, for tests and local
development — and Worker, which owns the retry ceiling, exponential backoff
(RetryPolicy), and dead-letter routing every adapter shares. Vendor
adapters live in separate repositories; blazingly-redis (Redis Streams) and
blazingly-nats (NATS JetStream) exist today.
It is fully standalone: the crate has no dependencies at all, and every
future it returns is Send and drivable by any executor — no framework, no
facade, and no specific runtime required. The blazingly facade re-exports
it unchanged as blazingly::queue behind the opt-in queue feature.
Direct use
The example uses futures-lite to drive the futures; any executor works.
use ;