coil is a efficient background job queue for Postgres. The API is very
similiar and indeed based upon swirl.
In addition to the functionality swirl offers, however, coil can:
- Queue asynchronous tasks for execution on an executor, whether it be
smol,tokioorasync-std - Queue functions with generics
- SQL queries in
coilare ran asynchronously wherever possible - Migrations are stored in the binary, and accessible via a
migrate()fn. No more needing to copy-paste migration files!