Skip to main content

molframe_engine/
lib.rs

1//! Typed, reusable execution graphs for `MolFrame` kernels.
2//!
3//! The engine owns graph mechanics only. Domain crates and the public facade
4//! add operations by closing over their statically dispatched kernels, keeping
5//! this crate independent of `molframe` and preventing a dependency cycle.
6
7#![forbid(unsafe_code)]
8
9mod compile;
10mod graph;
11mod runtime;
12
13pub use compile::{CompiledWorkflow, Explanation, PhysicalNode};
14pub use graph::{
15    Cost, Input, Node, OperationMetadata, Output, Workflow, WorkflowBuildError, WorkflowError,
16    WorkflowResult,
17};
18pub use runtime::{WorkflowInputs, WorkflowResults};
19
20#[cfg(test)]
21#[path = "workflow_tests.rs"]
22mod tests;