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