1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.70" 15name = "tokio-stream" 16version = "0.1.16" 17authors = ["Tokio Contributors <[email protected]>"] 18build = false 19autobins = false 20autoexamples = false 21autotests = false 22autobenches = false 23description = """ 24Utilities to work with `Stream` and `tokio`. 25""" 26homepage = "https://tokio.rs" 27readme = "README.md" 28categories = ["asynchronous"] 29license = "MIT" 30repository = "https://github.com/tokio-rs/tokio" 31 32[package.metadata.docs.rs] 33all-features = true 34rustc-args = [ 35 "--cfg", 36 "docsrs", 37] 38rustdoc-args = [ 39 "--cfg", 40 "docsrs", 41] 42 43[lib] 44name = "tokio_stream" 45path = "src/lib.rs" 46 47[[test]] 48name = "async_send_sync" 49path = "tests/async_send_sync.rs" 50 51[[test]] 52name = "chunks_timeout" 53path = "tests/chunks_timeout.rs" 54 55[[test]] 56name = "stream_chain" 57path = "tests/stream_chain.rs" 58 59[[test]] 60name = "stream_close" 61path = "tests/stream_close.rs" 62 63[[test]] 64name = "stream_collect" 65path = "tests/stream_collect.rs" 66 67[[test]] 68name = "stream_empty" 69path = "tests/stream_empty.rs" 70 71[[test]] 72name = "stream_fuse" 73path = "tests/stream_fuse.rs" 74 75[[test]] 76name = "stream_iter" 77path = "tests/stream_iter.rs" 78 79[[test]] 80name = "stream_merge" 81path = "tests/stream_merge.rs" 82 83[[test]] 84name = "stream_once" 85path = "tests/stream_once.rs" 86 87[[test]] 88name = "stream_panic" 89path = "tests/stream_panic.rs" 90 91[[test]] 92name = "stream_pending" 93path = "tests/stream_pending.rs" 94 95[[test]] 96name = "stream_stream_map" 97path = "tests/stream_stream_map.rs" 98 99[[test]] 100name = "stream_timeout" 101path = "tests/stream_timeout.rs" 102 103[[test]] 104name = "time_throttle" 105path = "tests/time_throttle.rs" 106 107[[test]] 108name = "watch" 109path = "tests/watch.rs" 110 111[dependencies.futures-core] 112version = "0.3.0" 113 114[dependencies.pin-project-lite] 115version = "0.2.11" 116 117[dependencies.tokio] 118version = "1.15.0" 119features = ["sync"] 120 121[dependencies.tokio-util] 122version = "0.7.0" 123optional = true 124 125[dev-dependencies.async-stream] 126version = "0.3" 127 128[dev-dependencies.futures] 129version = "0.3" 130default-features = false 131 132[dev-dependencies.parking_lot] 133version = "0.12.0" 134 135[dev-dependencies.tokio] 136version = "1.2.0" 137features = [ 138 "full", 139 "test-util", 140] 141 142[features] 143default = ["time"] 144fs = ["tokio/fs"] 145full = [ 146 "time", 147 "net", 148 "io-util", 149 "fs", 150 "sync", 151 "signal", 152] 153io-util = ["tokio/io-util"] 154net = ["tokio/net"] 155signal = ["tokio/signal"] 156sync = [ 157 "tokio/sync", 158 "tokio-util", 159] 160time = ["tokio/time"] 161