Crate apalis_sql

Crate apalis_sql 

Source
Expand description

§apalis-sql

SQL utilities for background job processing with apalis

§Overview

This crate contains basic utilities shared by different sql backed storages.

BackendCrateDocsFeatures
SQLiteapalis-sqlitedocsStable
PostgreSQLapalis-postgresdocsStable
MySQLapalis-mysqldocsStable
SurrealDBapalis-surrealdocsUnder Development
Diesel Compatapalis-sqldocsUnder Development

§Usage

You should no longer depend on this crate directly, the specific features have been moved eg for sqlite:

[dependencies]
apalis = "1"
apalis-sqlite = "1"

§Observability

You can track your jobs using apalis-board. Task

§Licence

MIT

Modules§

config
SQL backend for Apalis
context
SQL context for jobs stored in a SQL database
from_row
SQL task row representation and conversion

Functions§

stat_type_from_string
Convert a string to a StatType