Source code
Revision control
Copy as Markdown
Other Tools
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
rust-version = "1.56"
name = "futures-util"
version = "0.3.28"
description = """
Common utilities and extension traits for the futures-rs library.
"""
readme = "README.md"
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[dependencies.futures-channel]
version = "0.3.28"
features = ["std"]
optional = true
default-features = false
[dependencies.futures-core]
version = "0.3.28"
default-features = false
[dependencies.futures-io]
version = "0.3.28"
features = ["std"]
optional = true
default-features = false
[dependencies.futures-macro]
version = "=0.3.28"
optional = true
default-features = false
[dependencies.futures-sink]
version = "0.3.28"
optional = true
default-features = false
[dependencies.futures-task]
version = "0.3.28"
default-features = false
[dependencies.futures_01]
version = "0.1.25"
optional = true
package = "futures"
[dependencies.memchr]
version = "2.2"
optional = true
[dependencies.pin-project-lite]
version = "0.2.6"
[dependencies.pin-utils]
version = "0.1.0"
[dependencies.slab]
version = "0.4.2"
optional = true
[dependencies.tokio-io]
version = "0.1.9"
optional = true
[dev-dependencies.tokio]
version = "0.1.11"
[features]
alloc = [
"futures-core/alloc",
"futures-task/alloc",
]
async-await = []
async-await-macro = [
"async-await",
"futures-macro",
]
bilock = []
cfg-target-has-atomic = []
channel = [
"std",
"futures-channel",
]
compat = [
"std",
"futures_01",
]
default = [
"std",
"async-await",
"async-await-macro",
]
io = [
"std",
"futures-io",
"memchr",
]
io-compat = [
"io",
"compat",
"tokio-io",
]
portable-atomic = ["futures-core/portable-atomic"]
sink = ["futures-sink"]
std = [
"alloc",
"futures-core/std",
"futures-task/std",
"slab",
]
unstable = [
"futures-core/unstable",
"futures-task/unstable",
]
write-all-vectored = ["io"]