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 events;
9pub mod js_runtime;
10pub mod metadata;
11pub mod workflow;
12
13/// Current crate version.
14pub const VERSION: &str = env!("CARGO_PKG_VERSION");
15
16#[cfg(test)]
17mod tests {
18    use super::*;
19
20    #[test]
21    fn exposes_crate_version() {
22        assert_eq!(VERSION, env!("CARGO_PKG_VERSION"));
23    }
24}