blob: 911657c37d698c39126d26308ef5a5cf934477e4 [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.
Joel Galensonbd64f252021-08-09 10:50:19 -07009version = "0.1.7"
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"
Joel Galensonbd64f252021-08-09 10:50:19 -070015documentation = "https://docs.rs/tokio-stream/0.1.7/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"]