Flows.rs
"Τὰ πάντα ῥεῖ καὶ οὐδὲν μένει" — Heraclitus
Building blocks for flow-based programming (FBP) in Rust. This collection of crates implements a growing shrink-wrap inventory of standard dataflow blocks for common use cases.
[!TIP] 🚧 We are building in public. This is presently under heavy construction.
[Features] | [Prerequisites] | [Installation] | [Examples] | [Reference] | [Development]
✨ Features
- Provides components for flow-based programming (FBP) based on Tokio.
- Supports dataflow systems by providing reusable components called blocks.
- Built on the primitives provided by the Async-Flow project.
- Supports opting out of any feature using comprehensive feature flags.
- Adheres to the Rust API Guidelines in its naming conventions.
- No licensing headaches: 100% free and unencumbered public domain software.
🛠️ Prerequisites
- Rust 1.85+ (2024 edition)
⬇️ Installation
Installation via Cargo
👉 Examples
Importing the Library
use ;
Implementing Blocks
Implementing a split_string block
use ;
/// A block that splits input strings based on a delimiter.
async
Implementing an add_ints block
use ;
/// A block that outputs the sums of input numbers.
async
📚 Reference
👨💻 Development