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
//! Ora scheduling framework.
#![warn(clippy::pedantic, missing_docs)]

pub use async_trait::async_trait;
pub use eyre;
#[cfg(feature = "api")]
pub use ora_api::{client::Client, *};
pub use ora_common::{
    schedule::*,
    task::{TaskDataFormat, TaskDefinition, TaskStatus},
    timeout::TimeoutPolicy,
};
#[cfg(feature = "scheduler")]
pub use ora_scheduler::scheduler::{Error as SchedulerError, Scheduler};
#[cfg(feature = "store-memory")]
pub use ora_store_memory::{MemoryStore, MemoryStoreOptions};
#[cfg(feature = "store-sqlx-postgres")]
pub use ora_store_sqlx::{DbStore, DbStoreOptions};
#[cfg(feature = "test")]
pub use ora_test as test;
#[cfg(feature = "worker")]
pub use ora_worker::{
    worker::{Error as WorkerError, Worker, WorkerOptions},
    TaskContext,
};