Cwab
Correct, efficient, and simple. Lets process some jobs.
Installation
The cwab library is installed by adding the following to your Cargo.toml
= "^0.5"
You'll also need to run the following to install the CLI
Free Features
- Reliable job dispatch
- Error handling with retries
- Scheduled jobs
- An easy to use Rust API
- Middleware support
Paid Features
- Batched jobs
- Cron support
- Expiring jobs
- Unique jobs
- Encryption
- Rate limiting
- Parallelism
- Web UI
- Metrics
- Dedicated support
- A commercial license
To purchase
Use the below links to purchase a commercial license. You'll receive access to Cwab Pro within 24 hours after payment.
Click this link to pay $99 USD monthly
Click this link to pay $995 USD yearly
Documentation
You can find our documentation here
Basic use
Below is a basic implementation of a worker.
This example includes scheduling some jobs before starting the worker, which you would usually do on another machine.
To run, you'd run cwab librarian start in a separate shell to start the bookkeeping worker, and then run cargo run in your project.
use Result;
use async_trait;
use *;
use ;
;
async