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