Fang is a background task processing for Rust. It uses Postgres DB as a task queue.

Get started

Open-source MIT License. GitHub v0.10.0

Async and threaded workers

Workers can be started in threads (threaded workers) or tokio tasks (async workers)

Scheduled tasks

Tasks can be scheduled at any time in the future

Periodic (CRON) tasks

Tasks can be scheduled using cron expressions

Unique tasks

Tasks are not duplicated in the queue if they are unique

Single-purpose workers

Tasks are stored in a single table but workers can execute only tasks of the specific type