1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! Background job processing for persistent skill execution
//!
//! This module provides a configurable job queue abstraction using apalis,
//! supporting multiple storage backends:
//! - SQLite (default, local-first)
//! - PostgreSQL (optional, for distributed deployments)
//! - Redis (optional, for high-throughput scenarios)
//!
//! # Feature Flags
//!
//! - `job-queue` - Enables the base job queue functionality
//! - `sqlite-storage` - SQLite backend (default for local mode)
//! - `postgres-storage` - PostgreSQL backend
//! - `redis-storage` - Redis backend
//!
//! # Example
//!
//! ```rust,ignore
//! use skill_runtime::jobs::{JobConfig, JobStorage, create_storage};
//!
//! // Create SQLite storage (local-first default)
//! let config = JobConfig::sqlite("~/.skill-engine/jobs.db");
//! let storage = create_storage(&config).await?;
//!
//! // Or use environment-based configuration
//! let config = JobConfig::from_env()?;
//! let storage = create_storage(&config).await?;
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;