mytheclipse-queue
A unified job queue abstraction so your background work isn't locked to one
transport. Provides a single Queue trait, Job type, and WorkerPool executor
with configurable retry/backoff, concurrency, and a dead-letter queue.
Today there is one backend: in-memory (tokio::sync::mpsc + task spawning,
no external service). The redis, nats, and postgres features exist in
Cargo.toml but no backend implementation ships yet — do not rely on them.
Features
| Feature | Default | Backend | Status |
|---|---|---|---|
in-memory |
yes | tokio::sync |
Implemented: InMemoryQueue. |
redis |
no | redis crate |
Declared, no implementation yet. |
nats |
no | async-nats |
Declared, no implementation yet. |
postgres |
no | tokio-postgres |
Declared, no implementation yet. |
Usage
use ;
async
Any future backend only has to implement Queue; the WorkerPool driver is
already generic over it, so swapping is a one-line change at construction time.