1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # StreamWeave
//!
//! Composable, async, stream-first computation in pure Rust.
//!
//! StreamWeave provides a powerful framework for building data processing pipelines
//! using a flow-based programming model. It enables you to create complex data flows
//! by connecting nodes together in a graph structure.
//!
//! ## Key Features
//!
//! - **Flow-Based Programming**: Build pipelines by connecting nodes in a graph
//! - **Async-First**: Built on Tokio for high-performance async operations
//! - **Type-Safe**: Leverages Rust's type system for safety
//! - **Composable**: Mix and match nodes to create complex data flows
//! - **Zero-Copy**: Efficient memory management with Arc-based sharing
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use streamweave::graph::Graph;
//! use streamweave::nodes::string::StringSliceNode;
//!
//! // Create a graph and add nodes
//! let mut graph = Graph::new("my_graph".to_string());
//! graph.add_node("slice".to_string(), Box::new(StringSliceNode::new("slice".to_string())))?;
//! ```
//!
//! See the [README](../README.md) for detailed documentation and examples.
// Documentation enforcement - treat missing docs as errors
/// Graph and node system for building data processing pipelines.
/// Graph execution and management.
/// Graph builder for constructing graphs with a fluent API.
/// Macros for declarative graph construction.
/// Memory pool for efficient allocation.
/// Core node trait and interfaces.
/// Collection of built-in nodes for common operations.