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