Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 1 | [package] |
| 2 | name = "tokio-stream" |
| 3 | # When releasing to crates.io: |
| 4 | # - Remove path dependencies |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 5 | # - Update doc url |
| 6 | # - Cargo.toml |
| 7 | # - Update CHANGELOG.md. |
| 8 | # - Create "tokio-stream-0.1.x" git tag. |
Joel Galenson | bd64f25 | 2021-08-09 10:50:19 -0700 | [diff] [blame^] | 9 | version = "0.1.7" |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 10 | edition = "2018" |
| 11 | authors = ["Tokio Contributors <team@tokio.rs>"] |
| 12 | license = "MIT" |
| 13 | repository = "https://github.com/tokio-rs/tokio" |
| 14 | homepage = "https://tokio.rs" |
Joel Galenson | bd64f25 | 2021-08-09 10:50:19 -0700 | [diff] [blame^] | 15 | documentation = "https://docs.rs/tokio-stream/0.1.7/tokio_stream" |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 16 | description = """ |
| 17 | Utilities to work with `Stream` and `tokio`. |
| 18 | """ |
| 19 | categories = ["asynchronous"] |
| 20 | |
| 21 | [features] |
| 22 | default = ["time"] |
| 23 | time = ["tokio/time"] |
| 24 | net = ["tokio/net"] |
| 25 | io-util = ["tokio/io-util"] |
| 26 | fs = ["tokio/fs"] |
Haibo Huang | cd448d6 | 2021-02-09 18:23:29 -0800 | [diff] [blame] | 27 | sync = ["tokio/sync", "tokio-util"] |
Elliott Hughes | 7cf1529 | 2021-04-02 10:40:10 -0700 | [diff] [blame] | 28 | signal = ["tokio/signal"] |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 29 | |
| 30 | [dependencies] |
| 31 | futures-core = { version = "0.3.0" } |
| 32 | pin-project-lite = "0.2.0" |
Joel Galenson | bd64f25 | 2021-08-09 10:50:19 -0700 | [diff] [blame^] | 33 | tokio = { version = "1.8.0", path = "../tokio", features = ["sync"] } |
Joel Galenson | 6ba6072 | 2021-05-19 17:36:51 -0700 | [diff] [blame] | 34 | tokio-util = { version = "0.6.3", path = "../tokio-util", optional = true } |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 35 | |
| 36 | [dev-dependencies] |
Elliott Hughes | 7cf1529 | 2021-04-02 10:40:10 -0700 | [diff] [blame] | 37 | tokio = { version = "1.2.0", path = "../tokio", features = ["full", "test-util"] } |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 38 | async-stream = "0.3" |
Haibo Huang | cd448d6 | 2021-02-09 18:23:29 -0800 | [diff] [blame] | 39 | tokio-test = { path = "../tokio-test" } |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 40 | futures = { version = "0.3", default-features = false } |
| 41 | |
Joel Galenson | 6ba6072 | 2021-05-19 17:36:51 -0700 | [diff] [blame] | 42 | proptest = "1" |
Ivan Lozano | c0f49eb | 2021-01-25 21:39:17 -0500 | [diff] [blame] | 43 | |
| 44 | [package.metadata.docs.rs] |
| 45 | all-features = true |
| 46 | rustdoc-args = ["--cfg", "docsrs"] |