Files

64 lines
1.4 KiB
TOML
Raw Permalink Normal View History

2020-12-15 23:24:38 -05:00
[package]
name = "tokio-stream"
# When releasing to crates.io:
# - Remove path dependencies (if any)
2020-12-15 23:24:38 -05:00
# - Update CHANGELOG.md.
# - Create "tokio-stream-0.1.x" git tag.
2026-07-22 09:49:29 +02:00
version = "0.1.19"
edition = "2021"
2025-10-02 11:14:17 +02:00
rust-version = "1.71"
2020-12-15 23:24:38 -05:00
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
Utilities to work with `Stream` and `tokio`.
"""
categories = ["asynchronous"]
[features]
default = ["time"]
2023-04-23 13:59:49 +02:00
full = [
"time",
"net",
"io-util",
"fs",
"rt",
2023-04-23 13:59:49 +02:00
"sync",
"signal"
]
2020-12-15 23:24:38 -05:00
time = ["tokio/time"]
net = ["tokio/net"]
io-util = ["tokio/io-util"]
fs = ["tokio/fs"]
rt = ["tokio/rt"]
sync = ["tokio/sync", "tokio-util"]
signal = ["tokio/signal"]
2020-12-15 23:24:38 -05:00
[dependencies]
futures-core = { version = "0.3.0" }
2023-08-06 08:34:08 -03:00
pin-project-lite = "0.2.11"
tokio = { version = "1.38.0", features = ["sync"] }
tokio-util = { version = "0.7.0", optional = true }
2020-12-15 23:24:38 -05:00
[dev-dependencies]
tokio = { version = "1.38.0", features = ["full", "test-util"] }
async-stream = "0.3"
parking_lot = "0.12.0"
tokio-test = "0.4"
2020-12-15 23:24:38 -05:00
futures = { version = "0.3", default-features = false }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# Issue #3770
#
# This should allow `docsrs` to be read across projects, so that `tokio-stream`
# can pick up stubbed types exported by `tokio`.
rustc-args = ["--cfg", "docsrs"]
[lints]
workspace = true