# stream-partition
[](https://github.com/JadedBlueEyes/stream-partition/actions/workflows/rust-checks.yml?query=branch%3Amain) [](https://deps.rs/repo/github/JadedBlueEyes/stream-partition) [](https://github.com/JadedBlueEyes/stream-partition/commits/main/)
A Rust library for partitioning a single stream into multiple sub-streams based on keys.
## Overview
`stream-partition` provides a utility to split a stream into multiple sub-streams, where each sub-stream contains only items that match a specific key determined by an async function.
This can be used to process different types of items from a single stream with different logic.