[dependencies.futures-core]
version = "0.3.0"
[dependencies.pin-project-lite]
version = "0.2.11"
[dependencies.tokio]
features = ["sync"]
version = "1.15.0"
[dependencies.tokio-util]
optional = true
version = "0.7.0"
[dev-dependencies.async-stream]
version = "0.3"
[dev-dependencies.futures]
default-features = false
version = "0.3"
[dev-dependencies.parking_lot]
version = "0.12.0"
[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1.2.0"
[features]
default = ["time"]
fs = ["tokio/fs"]
full = ["time", "net", "io-util", "fs", "sync", "signal"]
io-util = ["tokio/io-util"]
net = ["tokio/net"]
signal = ["tokio/signal"]
sync = ["tokio/sync", "tokio-util"]
time = ["tokio/time"]
[lib]
name = "tokio_stream"
path = "src/lib.rs"
[package]
authors = ["Tokio Contributors <team@tokio.rs>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous"]
description = """
Utilities to work with `Stream` and `tokio`.
"""
edition = "2021"
homepage = "https://tokio.rs"
license = "MIT"
name = "tokio-stream"
readme = "README.md"
repository = "https://github.com/tokio-rs/tokio"
rust-version = "1.70"
version = "0.1.16"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "async_send_sync"
path = "tests/async_send_sync.rs"
[[test]]
name = "chunks_timeout"
path = "tests/chunks_timeout.rs"
[[test]]
name = "stream_chain"
path = "tests/stream_chain.rs"
[[test]]
name = "stream_close"
path = "tests/stream_close.rs"
[[test]]
name = "stream_collect"
path = "tests/stream_collect.rs"
[[test]]
name = "stream_empty"
path = "tests/stream_empty.rs"
[[test]]
name = "stream_fuse"
path = "tests/stream_fuse.rs"
[[test]]
name = "stream_iter"
path = "tests/stream_iter.rs"
[[test]]
name = "stream_merge"
path = "tests/stream_merge.rs"
[[test]]
name = "stream_once"
path = "tests/stream_once.rs"
[[test]]
name = "stream_panic"
path = "tests/stream_panic.rs"
[[test]]
name = "stream_pending"
path = "tests/stream_pending.rs"
[[test]]
name = "stream_stream_map"
path = "tests/stream_stream_map.rs"
[[test]]
name = "stream_timeout"
path = "tests/stream_timeout.rs"
[[test]]
name = "time_throttle"
path = "tests/time_throttle.rs"
[[test]]
name = "watch"
path = "tests/watch.rs"