Skip to main content

smol_workflow_engine/
lib.rs

1//! Rust implementation of the smol-workflows engine.
2//!
3//! This crate contains the native Rust workflow engine, including the QuickJS
4//! runtime, SQLite durable execution, and built-in agent providers.
5
6pub mod agent_providers;
7pub mod durable;
8pub mod environment;
9pub mod events;
10pub mod js_runtime;
11pub mod metadata;
12pub mod workflow;
13
14/// Current crate version.
15pub const VERSION: &str = env!("CARGO_PKG_VERSION");
16
17#[cfg(test)]
18mod tests {
19    use super::*;
20
21    #[test]
22    fn exposes_crate_version() {
23        assert_eq!(VERSION, env!("CARGO_PKG_VERSION"));
24    }
25}