rust-job-queue-api-worker-system 0.1.0

A production-shaped Rust job queue: Axum API + async workers + Postgres SKIP LOCKED dequeue, retries with decorrelated jitter, idempotency, cooperative cancellation, OpenAPI, Prometheus metrics.
//! HTTP API surface. Mounted by [`build_router`] into an Axum
//! [`axum::Router`]; library consumers can also mount individual
//! handlers from [`routes`] into their own router if they want a
//! subset.
//!
//! Submodules:
//! - [`app`] — `AppState` and the router builder.
//! - [`dto`] — request/response shapes (separate from domain types).
//! - [`error`] — `ApiError` and the `JobError` → HTTP-status mapping.
//! - [`openapi`] — assembled OpenAPI 3 spec (`ApiDoc`).
//! - [`routes`] — handler implementations.

pub mod app;
pub mod dto;
pub mod error;
pub mod openapi;
pub mod routes;

pub use app::{build_router, AppState};
pub use error::ApiError;
pub use openapi::ApiDoc;