blob: 83f8551826c1bf858d4ff64cf63385dd94d7c2a9 [file] [log] [blame]
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -05001[package]
2name = "tokio-stream"
3# When releasing to crates.io:
4# - Remove path dependencies
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -05005# - Update doc url
6# - Cargo.toml
7# - Update CHANGELOG.md.
8# - Create "tokio-stream-0.1.x" git tag.
David LeGare9efa0492022-03-02 16:21:06 +00009version = "0.1.8"
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050010edition = "2018"
11authors = ["Tokio Contributors <team@tokio.rs>"]
12license = "MIT"
13repository = "https://github.com/tokio-rs/tokio"
14homepage = "https://tokio.rs"
David LeGare9efa0492022-03-02 16:21:06 +000015documentation = "https://docs.rs/tokio-stream/0.1.8/tokio_stream"
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050016description = """
17Utilities to work with `Stream` and `tokio`.
18"""
19categories = ["asynchronous"]
20
21[features]
22default = ["time"]
23time = ["tokio/time"]
24net = ["tokio/net"]
25io-util = ["tokio/io-util"]
26fs = ["tokio/fs"]
Haibo Huangcd448d62021-02-09 18:23:29 -080027sync = ["tokio/sync", "tokio-util"]
Elliott Hughes7cf15292021-04-02 10:40:10 -070028signal = ["tokio/signal"]
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050029
30[dependencies]
31futures-core = { version = "0.3.0" }
32pin-project-lite = "0.2.0"
Joel Galensonbd64f252021-08-09 10:50:19 -070033tokio = { version = "1.8.0", path = "../tokio", features = ["sync"] }
Joel Galenson6ba60722021-05-19 17:36:51 -070034tokio-util = { version = "0.6.3", path = "../tokio-util", optional = true }
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050035
36[dev-dependencies]
Elliott Hughes7cf15292021-04-02 10:40:10 -070037tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] }
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050038async-stream = "0.3"
Haibo Huangcd448d62021-02-09 18:23:29 -080039tokio-test = { path = "../tokio-test" }
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050040futures = { version = "0.3", default-features = false }
41
Joel Galenson6ba60722021-05-19 17:36:51 -070042proptest = "1"
Ivan Lozanoc0f49eb2021-01-25 21:39:17 -050043
44[package.metadata.docs.rs]
45all-features = true
46rustdoc-args = ["--cfg", "docsrs"]
David LeGare9efa0492022-03-02 16:21:06 +000047# Issue #3770
48#
49# This should allow `docsrs` to be read across projects, so that `tokio-stream`
50# can pick up stubbed types exported by `tokio`.
51rustc-args = ["--cfg", "docsrs"]