pipeline_dsl/lib.rs
1//! Static pipeline DSL — the `#[pipeline]` and `#[stage]` attribute macros.
2//!
3//! This crate is **self-contained**: it re-exports the value layer from
4//! [`pipeline-core`], so a single `pipeline-dsl` dependency is enough. Refer to
5//! the value types as `pipeline_dsl::Vector`, `pipeline_dsl::Value`, etc., and
6//! the macro's generated code resolves its runtime support (`Reset`, `Error`)
7//! through this crate too.
8//!
9//! If you also depend on [`pipeline-core`] directly, the same types are equally
10//! available under the shared `pipeline::` name (`pipeline::Vector`) — they are
11//! the identical re-exported types.
12//!
13//! [`pipeline-core`]: https://crates.io/crates/pipeline-core
14pub use pipeline_macros::{pipeline, stage};
15
16// Re-export the value layer so `#[pipeline]` users need only this one crate.
17// `Reset` and `Error` are what the generated code references; the value types
18// are re-exported for caller convenience (`pipeline_dsl::Vector`). `StageStats`
19// is referenced by the code generated for `#[pipeline(stats)]`.
20pub use pipeline::{Buckets, Error, Reset, StageStats, Updated, Value, Vector, value};