| Crates.io | fluxus-api |
| lib.rs | fluxus-api |
| version | 0.2.0 |
| created_at | 2025-04-23 04:24:20.364235+00 |
| updated_at | 2025-05-14 02:16:33.790053+00 |
| description | High-level API for Fluxus stream processing engine |
| homepage | |
| repository | https://github.com/lispking/fluxus |
| max_upload_size | |
| id | 1645015 |
| size | 90,557 |
Core API definitions and interfaces for the Fluxus stream processing engine.
This crate provides the public API for building stream processing applications with Fluxus. It includes:
DataStream - The main abstraction for working with data streamsThe DataStream type is the main entry point for building stream processing pipelines:
DataStream::new(source)
.map(|x| x * 2)
.filter(|x| x > 0)
.window(WindowConfig::Tumbling { size_ms: 1000 })
.aggregate(initial_state, |state, value| /* aggregation logic */)
.sink(sink)
Supported window types:
Pre-built source and sink implementations:
CollectionSource - Create a stream from a collectionCollectionSink - Collect stream results into a collectionAdd this to your Cargo.toml:
[dependencies]
fluxus-api = "0.2"
See the fluxus-examples crate for complete usage examples.