| 1 | [package] |
| 2 | name = "futures" |
| 3 | version = "0.3.31" |
| 4 | edition = "2018" |
| 5 | rust-version = "1.56" |
| 6 | license = "MIT OR Apache-2.0" |
| 7 | readme = "../README.md" |
| 8 | keywords = ["futures" , "async" , "future" ] |
| 9 | repository = "https://github.com/rust-lang/futures-rs" |
| 10 | homepage = "https://rust-lang.github.io/futures-rs" |
| 11 | description = "" " |
| 12 | An implementation of futures and streams featuring zero allocations, |
| 13 | composability, and iterator-like interfaces. |
| 14 | " "" |
| 15 | categories = ["asynchronous" ] |
| 16 | |
| 17 | [dependencies] |
| 18 | futures-core = { path = "../futures-core" , version = "0.3.31" , default-features = false } |
| 19 | futures-task = { path = "../futures-task" , version = "0.3.31" , default-features = false } |
| 20 | futures-channel = { path = "../futures-channel" , version = "0.3.31" , default-features = false, features = ["sink" ] } |
| 21 | futures-executor = { path = "../futures-executor" , version = "0.3.31" , default-features = false, optional = true } |
| 22 | futures-io = { path = "../futures-io" , version = "0.3.31" , default-features = false } |
| 23 | futures-sink = { path = "../futures-sink" , version = "0.3.31" , default-features = false } |
| 24 | futures-util = { path = "../futures-util" , version = "0.3.31" , default-features = false, features = ["sink" ] } |
| 25 | |
| 26 | [dev-dependencies] |
| 27 | futures-executor = { path = "../futures-executor" , features = ["thread-pool" ] } |
| 28 | futures-test = { path = "../futures-test" } |
| 29 | assert_matches = "1.3.0" |
| 30 | pin-project = "1.0.11" |
| 31 | static_assertions = "1" |
| 32 | tokio = "0.1.11" |
| 33 | |
| 34 | [features] |
| 35 | default = ["std" , "async-await" , "executor" ] |
| 36 | std = ["alloc" , "futures-core/std" , "futures-task/std" , "futures-io/std" , "futures-sink/std" , "futures-util/std" , "futures-util/io" , "futures-util/channel" ] |
| 37 | alloc = ["futures-core/alloc" , "futures-task/alloc" , "futures-sink/alloc" , "futures-channel/alloc" , "futures-util/alloc" ] |
| 38 | async-await = ["futures-util/async-await" , "futures-util/async-await-macro" ] |
| 39 | compat = ["std" , "futures-util/compat" ] |
| 40 | io-compat = ["compat" , "futures-util/io-compat" ] |
| 41 | executor = ["std" , "futures-executor/std" ] |
| 42 | thread-pool = ["executor" , "futures-executor/thread-pool" ] |
| 43 | |
| 44 | # Unstable features |
| 45 | # These features are outside of the normal semver guarantees and require the |
| 46 | # `unstable` feature as an explicit opt-in to unstable API. |
| 47 | unstable = ["futures-core/unstable" , "futures-task/unstable" , "futures-channel/unstable" , "futures-io/unstable" , "futures-util/unstable" ] |
| 48 | bilock = ["futures-util/bilock" ] |
| 49 | write-all-vectored = ["futures-util/write-all-vectored" ] |
| 50 | |
| 51 | # These features are no longer used. |
| 52 | # TODO: remove in the next major version. |
| 53 | cfg-target-has-atomic = [] |
| 54 | |
| 55 | [package.metadata.docs.rs] |
| 56 | all-features = true |
| 57 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 58 | |
| 59 | [package.metadata.playground] |
| 60 | features = ["std" , "async-await" , "compat" , "io-compat" , "executor" , "thread-pool" ] |
| 61 | |
| 62 | [lints] |
| 63 | workspace = true |
| 64 | |