| 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] |
| 13 | edition = "2018" |
| 14 | rust-version = "1.56" |
| 15 | name = "futures" |
| 16 | version = "0.3.31" |
| 17 | build = false |
| 18 | autobins = false |
| 19 | autoexamples = false |
| 20 | autotests = false |
| 21 | autobenches = false |
| 22 | description = "" " |
| 23 | An implementation of futures and streams featuring zero allocations, |
| 24 | composability, and iterator-like interfaces. |
| 25 | " "" |
| 26 | homepage = "https://rust-lang.github.io/futures-rs" |
| 27 | readme = "README.md" |
| 28 | keywords = [ |
| 29 | "futures" , |
| 30 | "async" , |
| 31 | "future" , |
| 32 | ] |
| 33 | categories = ["asynchronous" ] |
| 34 | license = "MIT OR Apache-2.0" |
| 35 | repository = "https://github.com/rust-lang/futures-rs" |
| 36 | |
| 37 | [package.metadata.docs.rs] |
| 38 | all-features = true |
| 39 | rustdoc-args = [ |
| 40 | "--cfg" , |
| 41 | "docsrs" , |
| 42 | ] |
| 43 | |
| 44 | [package.metadata.playground] |
| 45 | features = [ |
| 46 | "std" , |
| 47 | "async-await" , |
| 48 | "compat" , |
| 49 | "io-compat" , |
| 50 | "executor" , |
| 51 | "thread-pool" , |
| 52 | ] |
| 53 | |
| 54 | [lib] |
| 55 | name = "futures" |
| 56 | path = "src/lib.rs" |
| 57 | |
| 58 | [[test]] |
| 59 | name = "_require_features" |
| 60 | path = "tests/_require_features.rs" |
| 61 | |
| 62 | [[test]] |
| 63 | name = "async_await_macros" |
| 64 | path = "tests/async_await_macros.rs" |
| 65 | |
| 66 | [[test]] |
| 67 | name = "auto_traits" |
| 68 | path = "tests/auto_traits.rs" |
| 69 | |
| 70 | [[test]] |
| 71 | name = "bilock" |
| 72 | path = "tests/bilock.rs" |
| 73 | |
| 74 | [[test]] |
| 75 | name = "compat" |
| 76 | path = "tests/compat.rs" |
| 77 | |
| 78 | [[test]] |
| 79 | name = "eager_drop" |
| 80 | path = "tests/eager_drop.rs" |
| 81 | |
| 82 | [[test]] |
| 83 | name = "eventual" |
| 84 | path = "tests/eventual.rs" |
| 85 | |
| 86 | [[test]] |
| 87 | name = "future_abortable" |
| 88 | path = "tests/future_abortable.rs" |
| 89 | |
| 90 | [[test]] |
| 91 | name = "future_basic_combinators" |
| 92 | path = "tests/future_basic_combinators.rs" |
| 93 | |
| 94 | [[test]] |
| 95 | name = "future_fuse" |
| 96 | path = "tests/future_fuse.rs" |
| 97 | |
| 98 | [[test]] |
| 99 | name = "future_inspect" |
| 100 | path = "tests/future_inspect.rs" |
| 101 | |
| 102 | [[test]] |
| 103 | name = "future_join" |
| 104 | path = "tests/future_join.rs" |
| 105 | |
| 106 | [[test]] |
| 107 | name = "future_join_all" |
| 108 | path = "tests/future_join_all.rs" |
| 109 | |
| 110 | [[test]] |
| 111 | name = "future_obj" |
| 112 | path = "tests/future_obj.rs" |
| 113 | |
| 114 | [[test]] |
| 115 | name = "future_select_all" |
| 116 | path = "tests/future_select_all.rs" |
| 117 | |
| 118 | [[test]] |
| 119 | name = "future_select_ok" |
| 120 | path = "tests/future_select_ok.rs" |
| 121 | |
| 122 | [[test]] |
| 123 | name = "future_shared" |
| 124 | path = "tests/future_shared.rs" |
| 125 | |
| 126 | [[test]] |
| 127 | name = "future_try_flatten_stream" |
| 128 | path = "tests/future_try_flatten_stream.rs" |
| 129 | |
| 130 | [[test]] |
| 131 | name = "future_try_join_all" |
| 132 | path = "tests/future_try_join_all.rs" |
| 133 | |
| 134 | [[test]] |
| 135 | name = "io_buf_reader" |
| 136 | path = "tests/io_buf_reader.rs" |
| 137 | |
| 138 | [[test]] |
| 139 | name = "io_buf_writer" |
| 140 | path = "tests/io_buf_writer.rs" |
| 141 | |
| 142 | [[test]] |
| 143 | name = "io_cursor" |
| 144 | path = "tests/io_cursor.rs" |
| 145 | |
| 146 | [[test]] |
| 147 | name = "io_line_writer" |
| 148 | path = "tests/io_line_writer.rs" |
| 149 | |
| 150 | [[test]] |
| 151 | name = "io_lines" |
| 152 | path = "tests/io_lines.rs" |
| 153 | |
| 154 | [[test]] |
| 155 | name = "io_read" |
| 156 | path = "tests/io_read.rs" |
| 157 | |
| 158 | [[test]] |
| 159 | name = "io_read_exact" |
| 160 | path = "tests/io_read_exact.rs" |
| 161 | |
| 162 | [[test]] |
| 163 | name = "io_read_line" |
| 164 | path = "tests/io_read_line.rs" |
| 165 | |
| 166 | [[test]] |
| 167 | name = "io_read_to_end" |
| 168 | path = "tests/io_read_to_end.rs" |
| 169 | |
| 170 | [[test]] |
| 171 | name = "io_read_to_string" |
| 172 | path = "tests/io_read_to_string.rs" |
| 173 | |
| 174 | [[test]] |
| 175 | name = "io_read_until" |
| 176 | path = "tests/io_read_until.rs" |
| 177 | |
| 178 | [[test]] |
| 179 | name = "io_window" |
| 180 | path = "tests/io_window.rs" |
| 181 | |
| 182 | [[test]] |
| 183 | name = "io_write" |
| 184 | path = "tests/io_write.rs" |
| 185 | |
| 186 | [[test]] |
| 187 | name = "lock_mutex" |
| 188 | path = "tests/lock_mutex.rs" |
| 189 | |
| 190 | [[test]] |
| 191 | name = "macro_comma_support" |
| 192 | path = "tests/macro_comma_support.rs" |
| 193 | |
| 194 | [[test]] |
| 195 | name = "object_safety" |
| 196 | path = "tests/object_safety.rs" |
| 197 | |
| 198 | [[test]] |
| 199 | name = "oneshot" |
| 200 | path = "tests/oneshot.rs" |
| 201 | |
| 202 | [[test]] |
| 203 | name = "ready_queue" |
| 204 | path = "tests/ready_queue.rs" |
| 205 | |
| 206 | [[test]] |
| 207 | name = "recurse" |
| 208 | path = "tests/recurse.rs" |
| 209 | |
| 210 | [[test]] |
| 211 | name = "sink" |
| 212 | path = "tests/sink.rs" |
| 213 | |
| 214 | [[test]] |
| 215 | name = "sink_fanout" |
| 216 | path = "tests/sink_fanout.rs" |
| 217 | |
| 218 | [[test]] |
| 219 | name = "stream" |
| 220 | path = "tests/stream.rs" |
| 221 | |
| 222 | [[test]] |
| 223 | name = "stream_abortable" |
| 224 | path = "tests/stream_abortable.rs" |
| 225 | |
| 226 | [[test]] |
| 227 | name = "stream_buffer_unordered" |
| 228 | path = "tests/stream_buffer_unordered.rs" |
| 229 | |
| 230 | [[test]] |
| 231 | name = "stream_catch_unwind" |
| 232 | path = "tests/stream_catch_unwind.rs" |
| 233 | |
| 234 | [[test]] |
| 235 | name = "stream_futures_ordered" |
| 236 | path = "tests/stream_futures_ordered.rs" |
| 237 | |
| 238 | [[test]] |
| 239 | name = "stream_futures_unordered" |
| 240 | path = "tests/stream_futures_unordered.rs" |
| 241 | |
| 242 | [[test]] |
| 243 | name = "stream_into_async_read" |
| 244 | path = "tests/stream_into_async_read.rs" |
| 245 | |
| 246 | [[test]] |
| 247 | name = "stream_peekable" |
| 248 | path = "tests/stream_peekable.rs" |
| 249 | |
| 250 | [[test]] |
| 251 | name = "stream_select_all" |
| 252 | path = "tests/stream_select_all.rs" |
| 253 | |
| 254 | [[test]] |
| 255 | name = "stream_select_next_some" |
| 256 | path = "tests/stream_select_next_some.rs" |
| 257 | |
| 258 | [[test]] |
| 259 | name = "stream_split" |
| 260 | path = "tests/stream_split.rs" |
| 261 | |
| 262 | [[test]] |
| 263 | name = "stream_try_stream" |
| 264 | path = "tests/stream_try_stream.rs" |
| 265 | |
| 266 | [[test]] |
| 267 | name = "stream_unfold" |
| 268 | path = "tests/stream_unfold.rs" |
| 269 | |
| 270 | [[test]] |
| 271 | name = "task_arc_wake" |
| 272 | path = "tests/task_arc_wake.rs" |
| 273 | |
| 274 | [[test]] |
| 275 | name = "task_atomic_waker" |
| 276 | path = "tests/task_atomic_waker.rs" |
| 277 | |
| 278 | [[test]] |
| 279 | name = "test_macro" |
| 280 | path = "tests/test_macro.rs" |
| 281 | |
| 282 | [[test]] |
| 283 | name = "try_join" |
| 284 | path = "tests/try_join.rs" |
| 285 | |
| 286 | [dependencies.futures-channel] |
| 287 | version = "0.3.31" |
| 288 | features = ["sink" ] |
| 289 | default-features = false |
| 290 | |
| 291 | [dependencies.futures-core] |
| 292 | version = "0.3.31" |
| 293 | default-features = false |
| 294 | |
| 295 | [dependencies.futures-executor] |
| 296 | version = "0.3.31" |
| 297 | optional = true |
| 298 | default-features = false |
| 299 | |
| 300 | [dependencies.futures-io] |
| 301 | version = "0.3.31" |
| 302 | default-features = false |
| 303 | |
| 304 | [dependencies.futures-sink] |
| 305 | version = "0.3.31" |
| 306 | default-features = false |
| 307 | |
| 308 | [dependencies.futures-task] |
| 309 | version = "0.3.31" |
| 310 | default-features = false |
| 311 | |
| 312 | [dependencies.futures-util] |
| 313 | version = "0.3.31" |
| 314 | features = ["sink" ] |
| 315 | default-features = false |
| 316 | |
| 317 | [dev-dependencies.assert_matches] |
| 318 | version = "1.3.0" |
| 319 | |
| 320 | [dev-dependencies.pin-project] |
| 321 | version = "1.0.11" |
| 322 | |
| 323 | [dev-dependencies.static_assertions] |
| 324 | version = "1" |
| 325 | |
| 326 | [dev-dependencies.tokio] |
| 327 | version = "0.1.11" |
| 328 | |
| 329 | [features] |
| 330 | alloc = [ |
| 331 | "futures-core/alloc" , |
| 332 | "futures-task/alloc" , |
| 333 | "futures-sink/alloc" , |
| 334 | "futures-channel/alloc" , |
| 335 | "futures-util/alloc" , |
| 336 | ] |
| 337 | async-await = [ |
| 338 | "futures-util/async-await" , |
| 339 | "futures-util/async-await-macro" , |
| 340 | ] |
| 341 | bilock = ["futures-util/bilock" ] |
| 342 | cfg-target-has-atomic = [] |
| 343 | compat = [ |
| 344 | "std" , |
| 345 | "futures-util/compat" , |
| 346 | ] |
| 347 | default = [ |
| 348 | "std" , |
| 349 | "async-await" , |
| 350 | "executor" , |
| 351 | ] |
| 352 | executor = [ |
| 353 | "std" , |
| 354 | "futures-executor/std" , |
| 355 | ] |
| 356 | io-compat = [ |
| 357 | "compat" , |
| 358 | "futures-util/io-compat" , |
| 359 | ] |
| 360 | std = [ |
| 361 | "alloc" , |
| 362 | "futures-core/std" , |
| 363 | "futures-task/std" , |
| 364 | "futures-io/std" , |
| 365 | "futures-sink/std" , |
| 366 | "futures-util/std" , |
| 367 | "futures-util/io" , |
| 368 | "futures-util/channel" , |
| 369 | ] |
| 370 | thread-pool = [ |
| 371 | "executor" , |
| 372 | "futures-executor/thread-pool" , |
| 373 | ] |
| 374 | unstable = [ |
| 375 | "futures-core/unstable" , |
| 376 | "futures-task/unstable" , |
| 377 | "futures-channel/unstable" , |
| 378 | "futures-io/unstable" , |
| 379 | "futures-util/unstable" , |
| 380 | ] |
| 381 | write-all-vectored = ["futures-util/write-all-vectored" ] |
| 382 | |
| 383 | [lints.rust] |
| 384 | missing_debug_implementations = "warn" |
| 385 | rust_2018_idioms = "warn" |
| 386 | single_use_lifetimes = "warn" |
| 387 | unreachable_pub = "warn" |
| 388 | |
| 389 | [lints.rust.unexpected_cfgs] |
| 390 | level = "warn" |
| 391 | priority = 0 |
| 392 | check-cfg = ["cfg(futures_sanitizer)" ] |
| 393 | |