52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "tokio-stream"
|
|
# When releasing to crates.io:
|
|
# - Remove path dependencies
|
|
# - Update doc url
|
|
# - Cargo.toml
|
|
# - Update CHANGELOG.md.
|
|
# - Create "tokio-stream-0.1.x" git tag.
|
|
version = "0.1.8"
|
|
edition = "2018"
|
|
authors = ["Tokio Contributors <team@tokio.rs>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
homepage = "https://tokio.rs"
|
|
documentation = "https://docs.rs/tokio-stream/0.1.8/tokio_stream"
|
|
description = """
|
|
Utilities to work with `Stream` and `tokio`.
|
|
"""
|
|
categories = ["asynchronous"]
|
|
|
|
[features]
|
|
default = ["time"]
|
|
time = ["tokio/time"]
|
|
net = ["tokio/net"]
|
|
io-util = ["tokio/io-util"]
|
|
fs = ["tokio/fs"]
|
|
sync = ["tokio/sync", "tokio-util"]
|
|
signal = ["tokio/signal"]
|
|
|
|
[dependencies]
|
|
futures-core = { version = "0.3.0" }
|
|
pin-project-lite = "0.2.0"
|
|
tokio = { version = "1.8.0", path = "../tokio", features = ["sync"] }
|
|
tokio-util = { version = "0.6.3", path = "../tokio-util", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] }
|
|
async-stream = "0.3"
|
|
tokio-test = { path = "../tokio-test" }
|
|
futures = { version = "0.3", default-features = false }
|
|
|
|
proptest = "1"
|
|
|
|
[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"]
|