tokio-stream-rust
Installation
SKILL.md
Tokio-Stream Rust
Use these conventions for working with tokio-rs/tokio tokio-stream crate. It provides stream utilities, wrappers for Tokio types, and the StreamExt trait for async iteration.
Source Baseline
- Prefer released docs from
docs.rs/tokio-stream, crates.io, and the matching GitHub release. - Current stable:
tokio-stream 0.1.18. - This crate depends on
tokioandfutures-core.
Cargo.toml
[dependencies]
tokio-stream = { version = "0.1", features = ["net"] }
# net feature enables: tokio-stream::wrappers::TcpListenerStream, UdpSocketStream, etc.
# Default features include: StreamExt, iter, once, empty, pending, stream_map