| 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-util" |
| 16 |
version = "0.3.28" |
| 17 |
description = """ |
| 18 |
Common utilities and extension traits for the futures-rs library. |
| 19 |
""" |
| 20 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 21 |
readme = "README.md" |
| 22 |
license = "MIT OR Apache-2.0" |
| 23 |
repository = "https://github.com/rust-lang/futures-rs" |
| 24 |
|
| 25 |
[package.metadata.docs.rs] |
| 26 |
all-features = true |
| 27 |
rustdoc-args = [ |
| 28 |
"--cfg", |
| 29 |
"docsrs", |
| 30 |
] |
| 31 |
|
| 32 |
[dependencies.futures-channel] |
| 33 |
version = "0.3.28" |
| 34 |
features = ["std"] |
| 35 |
optional = true |
| 36 |
default-features = false |
| 37 |
|
| 38 |
[dependencies.futures-core] |
| 39 |
version = "0.3.28" |
| 40 |
default-features = false |
| 41 |
|
| 42 |
[dependencies.futures-io] |
| 43 |
version = "0.3.28" |
| 44 |
features = ["std"] |
| 45 |
optional = true |
| 46 |
default-features = false |
| 47 |
|
| 48 |
[dependencies.futures-macro] |
| 49 |
version = "=0.3.28" |
| 50 |
optional = true |
| 51 |
default-features = false |
| 52 |
|
| 53 |
[dependencies.futures-sink] |
| 54 |
version = "0.3.28" |
| 55 |
optional = true |
| 56 |
default-features = false |
| 57 |
|
| 58 |
[dependencies.futures-task] |
| 59 |
version = "0.3.28" |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.futures_01] |
| 63 |
version = "0.1.25" |
| 64 |
optional = true |
| 65 |
package = "futures" |
| 66 |
|
| 67 |
[dependencies.memchr] |
| 68 |
version = "2.2" |
| 69 |
optional = true |
| 70 |
|
| 71 |
[dependencies.pin-project-lite] |
| 72 |
version = "0.2.6" |
| 73 |
|
| 74 |
[dependencies.pin-utils] |
| 75 |
version = "0.1.0" |
| 76 |
|
| 77 |
[dependencies.slab] |
| 78 |
version = "0.4.2" |
| 79 |
optional = true |
| 80 |
|
| 81 |
[dependencies.tokio-io] |
| 82 |
version = "0.1.9" |
| 83 |
optional = true |
| 84 |
|
| 85 |
[dev-dependencies.tokio] |
| 86 |
version = "0.1.11" |
| 87 |
|
| 88 |
[features] |
| 89 |
alloc = [ |
| 90 |
"futures-core/alloc", |
| 91 |
"futures-task/alloc", |
| 92 |
] |
| 93 |
async-await = [] |
| 94 |
async-await-macro = [ |
| 95 |
"async-await", |
| 96 |
"futures-macro", |
| 97 |
] |
| 98 |
bilock = [] |
| 99 |
cfg-target-has-atomic = [] |
| 100 |
channel = [ |
| 101 |
"std", |
| 102 |
"futures-channel", |
| 103 |
] |
| 104 |
compat = [ |
| 105 |
"std", |
| 106 |
"futures_01", |
| 107 |
] |
| 108 |
default = [ |
| 109 |
"std", |
| 110 |
"async-await", |
| 111 |
"async-await-macro", |
| 112 |
] |
| 113 |
io = [ |
| 114 |
"std", |
| 115 |
"futures-io", |
| 116 |
"memchr", |
| 117 |
] |
| 118 |
io-compat = [ |
| 119 |
"io", |
| 120 |
"compat", |
| 121 |
"tokio-io", |
| 122 |
] |
| 123 |
portable-atomic = ["futures-core/portable-atomic"] |
| 124 |
sink = ["futures-sink"] |
| 125 |
std = [ |
| 126 |
"alloc", |
| 127 |
"futures-core/std", |
| 128 |
"futures-task/std", |
| 129 |
"slab", |
| 130 |
] |
| 131 |
unstable = [ |
| 132 |
"futures-core/unstable", |
| 133 |
"futures-task/unstable", |
| 134 |
] |
| 135 |
write-all-vectored = ["io"] |