mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
64 lines
1.4 KiB
TOML
64 lines
1.4 KiB
TOML
[package]
|
|||
|
|
name = "tokio-stream"
|
||
|
|
# When releasing to crates.io:
|
||
# - Remove path dependencies (if any)
|
|||
# - Update CHANGELOG.md.
|
|||
|
|
# - Create "tokio-stream-0.1.x" git tag.
|
||
version = "0.1.19"
|
|||
edition = "2021"
|
|||
rust-version = "1.71"
|
|||
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"]
|
||
|
|||
|
|
full = [
|
||
|
|
"time",
|
||
|
|
"net",
|
||
|
|
"io-util",
|
||
|
|
"fs",
|
||
"rt",
|
|||
"sync",
|
|||
|
|
"signal"
|
||
|
|
]
|
||
|
|
|
||
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"]
|
|||
|
|||
|
|
[dependencies]
|
||
|
|
futures-core = { version = "0.3.0" }
|
||
pin-project-lite = "0.2.11"
|
|||
tokio = { version = "1.38.0", features = ["sync"] }
|
|||
|
|
tokio-util = { version = "0.7.0", optional = true }
|
||
|
|||
|
|
[dev-dependencies]
|
||
tokio = { version = "1.38.0", features = ["full", "test-util"] }
|
|||
async-stream = "0.3"
|
|||
parking_lot = "0.12.0"
|
|||
tokio-test = "0.4"
|
|||
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
|