somatize_compiler/lib.rs
1// The crate is fully documented and clippy runs with -D warnings in CI,
2// so this makes "public API without docs" a build error from here on.
3#![warn(missing_docs)]
4
5//! Graph compiler for Soma pipelines.
6//!
7//! Transforms a `Graph` of filter nodes into an [`ExecutionPlan`]:
8//! - Topological ordering and parallelism detection
9//! - Cache resolution (content-addressable, cascade invalidation)
10//! - Schema validation between connected filters
11//! - Distribution wrapping for remote execution
12//! - the `Scheduler` assigns plan nodes to workers
13
14pub mod compiler;
15pub mod plan;
16pub mod scheduler;
17
18pub use compiler::{
19 CompileMode, CompileResult, Compiler, Diagnostic, DiagnosticLevel, NodeRegistry,
20 SimpleNodeRegistry, compile, compile_stream,
21};
22pub use plan::ExecutionPlan;
23pub use scheduler::{
24 Assignment, DataTransfer, DistributionPlan, Phase, PlanPhase, WorkerInfo, schedule,
25};