Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 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 |
Joel Galenson | bb3a5dc | 2021-08-09 10:29:04 -0700 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 7 | # |
Joel Galenson | bb3a5dc | 2021-08-09 10:29:04 -0700 | [diff] [blame] | 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. |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 11 | |
| 12 | [package] |
| 13 | edition = "2018" |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 14 | rust-version = "1.45" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 15 | name = "futures" |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 16 | version = "0.3.21" |
| 17 | description = """ |
| 18 | An implementation of futures and streams featuring zero allocations, |
| 19 | composability, and iterator-like interfaces. |
| 20 | """ |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 21 | homepage = "https://rust-lang.github.io/futures-rs" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 22 | readme = "../README.md" |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 23 | keywords = [ |
| 24 | "futures", |
| 25 | "async", |
| 26 | "future", |
| 27 | ] |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 28 | categories = ["asynchronous"] |
| 29 | license = "MIT OR Apache-2.0" |
| 30 | repository = "https://github.com/rust-lang/futures-rs" |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 31 | |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 32 | [package.metadata.docs.rs] |
| 33 | all-features = true |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 34 | rustdoc-args = [ |
| 35 | "--cfg", |
| 36 | "docsrs", |
| 37 | ] |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 38 | |
| 39 | [package.metadata.playground] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 40 | features = [ |
| 41 | "std", |
| 42 | "async-await", |
| 43 | "compat", |
| 44 | "io-compat", |
| 45 | "executor", |
| 46 | "thread-pool", |
| 47 | ] |
| 48 | |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 49 | [dependencies.futures-channel] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 50 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 51 | features = ["sink"] |
| 52 | default-features = false |
| 53 | |
| 54 | [dependencies.futures-core] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 55 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 56 | default-features = false |
| 57 | |
| 58 | [dependencies.futures-executor] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 59 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 60 | optional = true |
| 61 | default-features = false |
| 62 | |
| 63 | [dependencies.futures-io] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 64 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 65 | default-features = false |
| 66 | |
| 67 | [dependencies.futures-sink] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 68 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 69 | default-features = false |
| 70 | |
| 71 | [dependencies.futures-task] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 72 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 73 | default-features = false |
| 74 | |
| 75 | [dependencies.futures-util] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 76 | version = "0.3.21" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 77 | features = ["sink"] |
| 78 | default-features = false |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 79 | |
Haibo Huang | 51d51a0 | 2021-02-09 16:59:45 -0800 | [diff] [blame] | 80 | [dev-dependencies.assert_matches] |
| 81 | version = "1.3.0" |
| 82 | |
| 83 | [dev-dependencies.pin-project] |
| 84 | version = "1.0.1" |
| 85 | |
| 86 | [dev-dependencies.pin-utils] |
| 87 | version = "0.1.0" |
| 88 | |
Joel Galenson | 4c85ef4 | 2021-04-01 15:51:41 -0700 | [diff] [blame] | 89 | [dev-dependencies.static_assertions] |
| 90 | version = "1" |
| 91 | |
Haibo Huang | 51d51a0 | 2021-02-09 16:59:45 -0800 | [diff] [blame] | 92 | [dev-dependencies.tokio] |
| 93 | version = "0.1.11" |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 94 | |
| 95 | [features] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 96 | alloc = [ |
| 97 | "futures-core/alloc", |
| 98 | "futures-task/alloc", |
| 99 | "futures-sink/alloc", |
| 100 | "futures-channel/alloc", |
| 101 | "futures-util/alloc", |
| 102 | ] |
| 103 | async-await = [ |
| 104 | "futures-util/async-await", |
| 105 | "futures-util/async-await-macro", |
| 106 | ] |
Jason Macnak | 3d406bb | 2020-03-19 21:05:06 +0000 | [diff] [blame] | 107 | bilock = ["futures-util/bilock"] |
Joel Galenson | 2259736 | 2021-05-19 15:06:18 -0700 | [diff] [blame] | 108 | cfg-target-has-atomic = [] |
David LeGare | 47ef9cb | 2022-03-02 00:19:32 +0000 | [diff] [blame] | 109 | compat = [ |
| 110 | "std", |
| 111 | "futures-util/compat", |
| 112 | ] |
| 113 | default = [ |
| 114 | "std", |
| 115 | "async-await", |
| 116 | "executor", |
| 117 | ] |
| 118 | executor = [ |
| 119 | "std", |
| 120 | "futures-executor/std", |
| 121 | ] |
| 122 | io-compat = [ |
| 123 | "compat", |
| 124 | "futures-util/io-compat", |
| 125 | ] |
| 126 | std = [ |
| 127 | "alloc", |
| 128 | "futures-core/std", |
| 129 | "futures-task/std", |
| 130 | "futures-io/std", |
| 131 | "futures-sink/std", |
| 132 | "futures-util/std", |
| 133 | "futures-util/io", |
| 134 | "futures-util/channel", |
| 135 | ] |
| 136 | thread-pool = [ |
| 137 | "executor", |
| 138 | "futures-executor/thread-pool", |
| 139 | ] |
| 140 | unstable = [ |
| 141 | "futures-core/unstable", |
| 142 | "futures-task/unstable", |
| 143 | "futures-channel/unstable", |
| 144 | "futures-io/unstable", |
| 145 | "futures-util/unstable", |
| 146 | ] |
Haibo Huang | 67f2b76 | 2020-05-08 19:24:38 -0700 | [diff] [blame] | 147 | write-all-vectored = ["futures-util/write-all-vectored"] |