FSM-based resumable Postgres tasks.
Stores task state in Postgres and runs each task as a resumable state machine, with scheduling, retries, delays, errors, and worker leases handled by a single table.
The full crate documentation, tutorial, and API examples live on docs.rs/pg_task
Create and migrate a dev db:
echo "DATABASE_URL=postgres:///pg_task?user=$USER" >.env
sqlx db create
sqlx mig runPlease run .pre-commit.sh before sending a PR.
This project is licensed under the MIT license.