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-util" 16version = "0.7.13" 17authors = ["Tokio Contributors <[email protected]>"] 18build = false 19autobins = false 20autoexamples = false 21autotests = false 22autobenches = false 23description = """ 24Additional utilities for working with 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 "--cfg", 38 "tokio_unstable", 39] 40rustdoc-args = [ 41 "--cfg", 42 "docsrs", 43 "--cfg", 44 "tokio_unstable", 45] 46 47[package.metadata.playground] 48features = ["full"] 49 50[lib] 51name = "tokio_util" 52path = "src/lib.rs" 53 54[[test]] 55name = "_require_full" 56path = "tests/_require_full.rs" 57 58[[test]] 59name = "abort_on_drop" 60path = "tests/abort_on_drop.rs" 61 62[[test]] 63name = "codecs" 64path = "tests/codecs.rs" 65 66[[test]] 67name = "compat" 68path = "tests/compat.rs" 69 70[[test]] 71name = "context" 72path = "tests/context.rs" 73 74[[test]] 75name = "framed" 76path = "tests/framed.rs" 77 78[[test]] 79name = "framed_read" 80path = "tests/framed_read.rs" 81 82[[test]] 83name = "framed_stream" 84path = "tests/framed_stream.rs" 85 86[[test]] 87name = "framed_write" 88path = "tests/framed_write.rs" 89 90[[test]] 91name = "io_inspect" 92path = "tests/io_inspect.rs" 93 94[[test]] 95name = "io_reader_stream" 96path = "tests/io_reader_stream.rs" 97 98[[test]] 99name = "io_sink_writer" 100path = "tests/io_sink_writer.rs" 101 102[[test]] 103name = "io_stream_reader" 104path = "tests/io_stream_reader.rs" 105 106[[test]] 107name = "io_sync_bridge" 108path = "tests/io_sync_bridge.rs" 109 110[[test]] 111name = "length_delimited" 112path = "tests/length_delimited.rs" 113 114[[test]] 115name = "mpsc" 116path = "tests/mpsc.rs" 117 118[[test]] 119name = "panic" 120path = "tests/panic.rs" 121 122[[test]] 123name = "poll_semaphore" 124path = "tests/poll_semaphore.rs" 125 126[[test]] 127name = "reusable_box" 128path = "tests/reusable_box.rs" 129 130[[test]] 131name = "spawn_pinned" 132path = "tests/spawn_pinned.rs" 133 134[[test]] 135name = "sync_cancellation_token" 136path = "tests/sync_cancellation_token.rs" 137 138[[test]] 139name = "task_join_map" 140path = "tests/task_join_map.rs" 141 142[[test]] 143name = "task_tracker" 144path = "tests/task_tracker.rs" 145 146[[test]] 147name = "time_delay_queue" 148path = "tests/time_delay_queue.rs" 149 150[[test]] 151name = "udp" 152path = "tests/udp.rs" 153 154[dependencies.bytes] 155version = "1.0.0" 156 157[dependencies.futures-core] 158version = "0.3.0" 159 160[dependencies.futures-io] 161version = "0.3.0" 162optional = true 163 164[dependencies.futures-sink] 165version = "0.3.0" 166 167[dependencies.futures-util] 168version = "0.3.0" 169optional = true 170 171[dependencies.pin-project-lite] 172version = "0.2.11" 173 174[dependencies.slab] 175version = "0.4.4" 176optional = true 177 178[dependencies.tokio] 179version = "1.28.0" 180features = ["sync"] 181 182[dependencies.tracing] 183version = "0.1.29" 184features = ["std"] 185optional = true 186default-features = false 187 188[dev-dependencies.async-stream] 189version = "0.3.0" 190 191[dev-dependencies.futures] 192version = "0.3.0" 193 194[dev-dependencies.futures-test] 195version = "0.3.5" 196 197[dev-dependencies.parking_lot] 198version = "0.12.0" 199 200[dev-dependencies.tempfile] 201version = "3.1.0" 202 203[dev-dependencies.tokio] 204version = "1.0.0" 205features = ["full"] 206 207[dev-dependencies.tokio-stream] 208version = "0.1" 209 210[dev-dependencies.tokio-test] 211version = "0.4.0" 212 213[features] 214__docs_rs = ["futures-util"] 215codec = [] 216compat = ["futures-io"] 217default = [] 218full = [ 219 "codec", 220 "compat", 221 "io-util", 222 "time", 223 "net", 224 "rt", 225] 226io = [] 227io-util = [ 228 "io", 229 "tokio/rt", 230 "tokio/io-util", 231] 232net = ["tokio/net"] 233rt = [ 234 "tokio/rt", 235 "tokio/sync", 236 "futures-util", 237 "hashbrown", 238] 239time = [ 240 "tokio/time", 241 "slab", 242] 243 244[target."cfg(tokio_unstable)".dependencies.hashbrown] 245version = "0.14.0" 246optional = true 247default-features = false 248