kyma_plan/lib.rs
1//! Unified logical-plan IR, optimizer, and parser-plugin registry.
2//!
3//! `kyma-plan`'s [`LogicalPlan`][logical_plan::LogicalPlan] is the
4//! frontend-neutral IR that every [`kyma_core::query_frontend::QueryFrontend`]
5//! produces and that `kyma-exec` lowers to DataFusion.
6//!
7//! # Module map
8//!
9//! - [`logical_plan`] — the unified plan enum (frontend-neutral).
10//! - [`optimizer`] — rewrite rules (telemetry-specific + generic).
11//! - [`query_frontend_registry`] — routes queries by Content-Type to the
12//! right registered frontend and unpacks its opaque plan.
13
14#![forbid(unsafe_code)]
15
16pub mod logical_plan;
17pub mod optimizer;
18pub mod query_frontend_registry;