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.56" 15name = "tokio-util" 16version = "0.7.10" 17authors = ["Tokio Contributors <team@tokio.rs>"] 18description = """ 19Additional utilities for working with Tokio. 20""" 21homepage = "https://tokio.rs" 22readme = "README.md" 23categories = ["asynchronous"] 24license = "MIT" 25repository = "https://github.com/tokio-rs/tokio" 26 27[package.metadata.docs.rs] 28all-features = true 29rustc-args = [ 30 "--cfg", 31 "docsrs", 32 "--cfg", 33 "tokio_unstable", 34] 35rustdoc-args = [ 36 "--cfg", 37 "docsrs", 38 "--cfg", 39 "tokio_unstable", 40] 41 42[dependencies.bytes] 43version = "1.0.0" 44 45[dependencies.futures-core] 46version = "0.3.0" 47 48[dependencies.futures-io] 49version = "0.3.0" 50optional = true 51 52[dependencies.futures-sink] 53version = "0.3.0" 54 55[dependencies.futures-util] 56version = "0.3.0" 57optional = true 58 59[dependencies.pin-project-lite] 60version = "0.2.11" 61 62[dependencies.slab] 63version = "0.4.4" 64optional = true 65 66[dependencies.tokio] 67version = "1.28.0" 68features = ["sync"] 69 70[dependencies.tracing] 71version = "0.1.25" 72features = ["std"] 73optional = true 74default-features = false 75 76[dev-dependencies.async-stream] 77version = "0.3.0" 78 79[dev-dependencies.futures] 80version = "0.3.0" 81 82[dev-dependencies.futures-test] 83version = "0.3.5" 84 85[dev-dependencies.parking_lot] 86version = "0.12.0" 87 88[dev-dependencies.tempfile] 89version = "3.1.0" 90 91[dev-dependencies.tokio] 92version = "1.0.0" 93features = ["full"] 94 95[dev-dependencies.tokio-stream] 96version = "0.1" 97 98[dev-dependencies.tokio-test] 99version = "0.4.0" 100 101[features] 102__docs_rs = ["futures-util"] 103codec = ["tracing"] 104compat = ["futures-io"] 105default = [] 106full = [ 107 "codec", 108 "compat", 109 "io-util", 110 "time", 111 "net", 112 "rt", 113] 114io = [] 115io-util = [ 116 "io", 117 "tokio/rt", 118 "tokio/io-util", 119] 120net = ["tokio/net"] 121rt = [ 122 "tokio/rt", 123 "tokio/sync", 124 "futures-util", 125 "hashbrown", 126] 127time = [ 128 "tokio/time", 129 "slab", 130] 131 132[target."cfg(tokio_unstable)".dependencies.hashbrown] 133version = "0.14.0" 134optional = true 135