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.63" 15name = "tokio" 16version = "1.32.0" 17authors = ["Tokio Contributors <team@tokio.rs>"] 18description = """ 19An event-driven, non-blocking I/O platform for writing asynchronous I/O 20backed applications. 21""" 22homepage = "https://tokio.rs" 23readme = "README.md" 24keywords = [ 25 "io", 26 "async", 27 "non-blocking", 28 "futures", 29] 30categories = [ 31 "asynchronous", 32 "network-programming", 33] 34license = "MIT" 35repository = "https://github.com/tokio-rs/tokio" 36 37[package.metadata.docs.rs] 38all-features = true 39rustc-args = [ 40 "--cfg", 41 "tokio_unstable", 42] 43rustdoc-args = [ 44 "--cfg", 45 "docsrs", 46 "--cfg", 47 "tokio_unstable", 48] 49 50[package.metadata.playground] 51features = [ 52 "full", 53 "test-util", 54] 55 56[dependencies.bytes] 57version = "1.0.0" 58optional = true 59 60[dependencies.mio] 61version = "0.8.6" 62optional = true 63default-features = false 64 65[dependencies.num_cpus] 66version = "1.8.0" 67optional = true 68 69[dependencies.parking_lot] 70version = "0.12.0" 71optional = true 72 73[dependencies.pin-project-lite] 74version = "0.2.11" 75 76[dependencies.tokio-macros] 77version = "~2.1.0" 78optional = true 79 80[dev-dependencies.async-stream] 81version = "0.3" 82 83[dev-dependencies.futures] 84version = "0.3.0" 85features = ["async-await"] 86 87[dev-dependencies.mockall] 88version = "0.11.1" 89 90[dev-dependencies.tokio-stream] 91version = "0.1" 92 93[dev-dependencies.tokio-test] 94version = "0.4.0" 95 96[features] 97default = [] 98fs = [] 99full = [ 100 "fs", 101 "io-util", 102 "io-std", 103 "macros", 104 "net", 105 "parking_lot", 106 "process", 107 "rt", 108 "rt-multi-thread", 109 "signal", 110 "sync", 111 "time", 112] 113io-std = [] 114io-util = ["bytes"] 115macros = ["tokio-macros"] 116net = [ 117 "libc", 118 "mio/os-poll", 119 "mio/os-ext", 120 "mio/net", 121 "socket2", 122 "windows-sys/Win32_Foundation", 123 "windows-sys/Win32_Security", 124 "windows-sys/Win32_Storage_FileSystem", 125 "windows-sys/Win32_System_Pipes", 126 "windows-sys/Win32_System_SystemServices", 127] 128process = [ 129 "bytes", 130 "libc", 131 "mio/os-poll", 132 "mio/os-ext", 133 "mio/net", 134 "signal-hook-registry", 135 "windows-sys/Win32_Foundation", 136 "windows-sys/Win32_System_Threading", 137 "windows-sys/Win32_System_WindowsProgramming", 138] 139rt = [] 140rt-multi-thread = [ 141 "num_cpus", 142 "rt", 143] 144signal = [ 145 "libc", 146 "mio/os-poll", 147 "mio/net", 148 "mio/os-ext", 149 "signal-hook-registry", 150 "windows-sys/Win32_Foundation", 151 "windows-sys/Win32_System_Console", 152] 153stats = [] 154sync = [] 155test-util = [ 156 "rt", 157 "sync", 158 "time", 159] 160time = [] 161 162[target."cfg(all(target_family = \"wasm\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test] 163version = "0.3.0" 164 165[target."cfg(loom)".dev-dependencies.loom] 166version = "0.7" 167features = [ 168 "futures", 169 "checkpoint", 170] 171 172[target."cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))".dev-dependencies.rand] 173version = "0.8.0" 174 175[target."cfg(not(target_family = \"wasm\"))".dependencies.socket2] 176version = "0.5.3" 177features = ["all"] 178optional = true 179 180[target."cfg(not(target_family = \"wasm\"))".dev-dependencies.socket2] 181version = "0.5.3" 182 183[target."cfg(not(target_family = \"wasm\"))".dev-dependencies.tempfile] 184version = "3.1.0" 185 186[target."cfg(target_os = \"freebsd\")".dev-dependencies.mio-aio] 187version = "0.7.0" 188features = ["tokio"] 189 190[target."cfg(tokio_taskdump)".dependencies.backtrace] 191version = "0.3.58" 192 193[target."cfg(tokio_unstable)".dependencies.tracing] 194version = "0.1.25" 195features = ["std"] 196optional = true 197default-features = false 198 199[target."cfg(unix)".dependencies.libc] 200version = "0.2.145" 201optional = true 202 203[target."cfg(unix)".dependencies.signal-hook-registry] 204version = "1.1.1" 205optional = true 206 207[target."cfg(unix)".dev-dependencies.libc] 208version = "0.2.149" 209 210[target."cfg(unix)".dev-dependencies.nix] 211version = "0.28.0" 212features = [ 213 "fs", 214 "socket", 215] 216default-features = false 217 218[target."cfg(windows)".dependencies.windows-sys] 219version = "0.48" 220optional = true 221 222[target."cfg(windows)".dev-dependencies.windows-sys] 223version = "0.48" 224features = [ 225 "Win32_Foundation", 226 "Win32_Security_Authorization", 227] 228