| 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.71" |
| 15 |
name = "futures-util" |
| 16 |
version = "0.3.34" |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = """ |
| 24 |
Common utilities and extension traits for the futures-rs library. |
| 25 |
""" |
| 26 |
homepage = "https://rust-lang.github.io/futures-rs" |
| 27 |
readme = "README.md" |
| 28 |
license = "MIT OR Apache-2.0" |
| 29 |
repository = "https://github.com/rust-lang/futures-rs" |
| 30 |
|
| 31 |
[package.metadata.docs.rs] |
| 32 |
all-features = true |
| 33 |
rustdoc-args = [ |
| 34 |
"--cfg", |
| 35 |
"docsrs", |
| 36 |
] |
| 37 |
|
| 38 |
[features] |
| 39 |
alloc = [ |
| 40 |
"futures-core/alloc", |
| 41 |
"futures-task/alloc", |
| 42 |
"slab", |
| 43 |
] |
| 44 |
async-await = [] |
| 45 |
async-await-macro = [ |
| 46 |
"async-await", |
| 47 |
"futures-macro", |
| 48 |
] |
| 49 |
bilock = [] |
| 50 |
cfg-target-has-atomic = [] |
| 51 |
channel = [ |
| 52 |
"std", |
| 53 |
"futures-channel", |
| 54 |
] |
| 55 |
compat = [ |
| 56 |
"std", |
| 57 |
"futures_01", |
| 58 |
"libc", |
| 59 |
] |
| 60 |
default = [ |
| 61 |
"std", |
| 62 |
"async-await", |
| 63 |
"async-await-macro", |
| 64 |
] |
| 65 |
io = [ |
| 66 |
"std", |
| 67 |
"futures-io", |
| 68 |
"memchr", |
| 69 |
] |
| 70 |
io-compat = [ |
| 71 |
"io", |
| 72 |
"compat", |
| 73 |
"tokio-io", |
| 74 |
"libc", |
| 75 |
] |
| 76 |
portable-atomic = [ |
| 77 |
"futures-core/portable-atomic", |
| 78 |
"portable_atomic_crate", |
| 79 |
] |
| 80 |
portable-atomic-alloc = [ |
| 81 |
"portable-atomic-util/alloc", |
| 82 |
"portable-atomic", |
| 83 |
] |
| 84 |
sink = ["futures-sink"] |
| 85 |
std = [ |
| 86 |
"alloc", |
| 87 |
"futures-core/std", |
| 88 |
"futures-task/std", |
| 89 |
"slab/std", |
| 90 |
] |
| 91 |
unstable = [ |
| 92 |
"futures-core/unstable", |
| 93 |
"futures-task/unstable", |
| 94 |
] |
| 95 |
write-all-vectored = ["io"] |
| 96 |
|
| 97 |
[lib] |
| 98 |
name = "futures_util" |
| 99 |
path = "src/lib.rs" |
| 100 |
|
| 101 |
[[bench]] |
| 102 |
name = "bilock" |
| 103 |
path = "benches/bilock.rs" |
| 104 |
|
| 105 |
[[bench]] |
| 106 |
name = "flatten_unordered" |
| 107 |
path = "benches/flatten_unordered.rs" |
| 108 |
|
| 109 |
[[bench]] |
| 110 |
name = "futures_unordered" |
| 111 |
path = "benches/futures_unordered.rs" |
| 112 |
|
| 113 |
[[bench]] |
| 114 |
name = "select" |
| 115 |
path = "benches/select.rs" |
| 116 |
|
| 117 |
[dependencies.futures-channel] |
| 118 |
version = "0.3.34" |
| 119 |
features = ["std"] |
| 120 |
optional = true |
| 121 |
default-features = false |
| 122 |
|
| 123 |
[dependencies.futures-core] |
| 124 |
version = "0.3.34" |
| 125 |
default-features = false |
| 126 |
|
| 127 |
[dependencies.futures-io] |
| 128 |
version = "0.3.34" |
| 129 |
features = ["std"] |
| 130 |
optional = true |
| 131 |
default-features = false |
| 132 |
|
| 133 |
[dependencies.futures-macro] |
| 134 |
version = "=0.3.34" |
| 135 |
optional = true |
| 136 |
default-features = false |
| 137 |
|
| 138 |
[dependencies.futures-sink] |
| 139 |
version = "0.3.34" |
| 140 |
optional = true |
| 141 |
default-features = false |
| 142 |
|
| 143 |
[dependencies.futures-task] |
| 144 |
version = "0.3.34" |
| 145 |
default-features = false |
| 146 |
|
| 147 |
[dependencies.futures_01] |
| 148 |
version = "0.1.25" |
| 149 |
optional = true |
| 150 |
package = "futures" |
| 151 |
|
| 152 |
[dependencies.libc] |
| 153 |
version = "0.2.26" |
| 154 |
optional = true |
| 155 |
|
| 156 |
[dependencies.memchr] |
| 157 |
version = "2.2" |
| 158 |
optional = true |
| 159 |
|
| 160 |
[dependencies.pin-project-lite] |
| 161 |
version = "0.2.6" |
| 162 |
|
| 163 |
[dependencies.portable-atomic-util] |
| 164 |
version = "0.2.7" |
| 165 |
optional = true |
| 166 |
default-features = false |
| 167 |
|
| 168 |
[dependencies.portable_atomic_crate] |
| 169 |
version = "1.13.1" |
| 170 |
optional = true |
| 171 |
default-features = false |
| 172 |
package = "portable-atomic" |
| 173 |
|
| 174 |
[dependencies.slab] |
| 175 |
version = "0.4.7" |
| 176 |
optional = true |
| 177 |
default-features = false |
| 178 |
|
| 179 |
[dependencies.spin] |
| 180 |
version = "0.12.0" |
| 181 |
optional = true |
| 182 |
|
| 183 |
[dependencies.tokio-io] |
| 184 |
version = "0.1.9" |
| 185 |
optional = true |
| 186 |
|
| 187 |
[dev-dependencies.tokio] |
| 188 |
version = "0.1.11" |
| 189 |
|
| 190 |
[lints.rust] |
| 191 |
missing_debug_implementations = "warn" |
| 192 |
rust_2018_idioms = "warn" |
| 193 |
single_use_lifetimes = "warn" |
| 194 |
unreachable_pub = "warn" |
| 195 |
|
| 196 |
[lints.rust.unexpected_cfgs] |
| 197 |
level = "warn" |
| 198 |
priority = 0 |
| 199 |
check-cfg = ["cfg(futures_sanitizer)"] |