Skip to main content

plexus_serde/
lib.rs

1// Suppress lints on FlatBuffers-generated code: unused lifetimes and unsafe fns
2// without Safety docs are codegen artifacts that cannot be fixed in the output.
3#[allow(clippy::extra_unused_lifetimes, clippy::missing_safety_doc)]
4pub mod plexus_generated;
5
6mod capability;
7mod convert;
8mod expr;
9mod plan;
10mod types;
11
12pub use capability::{deserialize_engine_capability_decl, serialize_engine_capability_decl};
13pub use plan::{deserialize_plan, serialize_plan, validate_plan_structure, PlanValidationError};
14pub use types::{
15    current_plan_version, AggFn, ArithOp, CapabilityOrderingContract, CapabilitySemver,
16    CapabilityVersionRange, CmpOp, ColDef, ColKind, EngineCapabilityDecl, ExpandDir, Expr,
17    LogicalType, Op, OpOrderingDecl, Plan, SerdeError, SortDir, VectorMetric, Version,
18    PLAN_FORMAT_MAJOR, PLAN_FORMAT_MINOR, PLAN_FORMAT_PATCH,
19};
20
21#[cfg(test)]
22mod tests;