docs.rs failed to build apalis-sqlite-1.0.0-alpha.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
apalis-sqlite-1.0.0-beta.2
apalis-sqlite
Background task processing for Rust using Apalis and SQLite.
Features
- Reliable job queue using SQLite as the backend.
- Multiple storage types: standard polling and event-driven (hooked) storage.
- Custom codecs for serializing/deserializing job arguments as bytes and json.
- Heartbeat and orphaned job re-enqueueing for robust job processing.
- Integration with Apalis workers and middleware.
Storage Types
- [
SqliteStorage]: Standard polling-based storage. - [
SqliteStorageWithHook]: Event-driven storage using SQLite update hooks for low-latency job fetching. - [
SharedSqliteStorage]: Shared storage for multiple job types.
The naming is designed to clearly indicate the storage mechanism and its capabilities, but under the hood the result is the SqliteStorage struct with different configurations.
Examples
Basic Worker Example
async
Hooked Worker Example (Event-driven)
async
Migrations
If the migrate feature is enabled, you can run built-in migrations with:
use SqlitePool;
async
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.