1pub mod api;
2pub mod archival;
3pub mod dispatch_recovery;
4pub mod engine;
5pub mod health;
6pub mod scheduler;
7pub mod state;
8pub mod store;
9pub mod timers;
10pub mod types;
11
12pub use engine::Engine;
13pub use store::postgres::PostgresStore;
14pub use store::sqlite::SqliteStore;
15pub use store::WorkflowStore;
16
17#[cfg(feature = "s3-archival")]
18pub(crate) fn timestamp_now() -> f64 {
19 std::time::SystemTime::now()
20 .duration_since(std::time::UNIX_EPOCH)
21 .unwrap_or_default()
22 .as_secs_f64()
23}