You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.5 KiB
59 lines
2.5 KiB
[package]
|
|
name = "futures-util"
|
|
edition = "2018"
|
|
version = "0.3.13"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/futures-rs"
|
|
homepage = "https://rust-lang.github.io/futures-rs"
|
|
documentation = "https://docs.rs/futures-util/0.3"
|
|
description = """
|
|
Common utilities and extension traits for the futures-rs library.
|
|
"""
|
|
|
|
[features]
|
|
default = ["std", "async-await", "async-await-macro"]
|
|
std = ["alloc", "futures-core/std", "futures-task/std", "slab"]
|
|
alloc = ["futures-core/alloc", "futures-task/alloc"]
|
|
async-await = []
|
|
async-await-macro = ["async-await", "futures-macro", "proc-macro-hack", "proc-macro-nested"]
|
|
compat = ["std", "futures_01"]
|
|
io-compat = ["io", "compat", "tokio-io"]
|
|
sink = ["futures-sink"]
|
|
io = ["std", "futures-io", "memchr"]
|
|
channel = ["std", "futures-channel"]
|
|
|
|
# Unstable features
|
|
# These features are outside of the normal semver guarantees and require the
|
|
# `unstable` feature as an explicit opt-in to unstable API.
|
|
unstable = ["futures-core/unstable", "futures-task/unstable"]
|
|
cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic", "futures-task/cfg-target-has-atomic"]
|
|
bilock = []
|
|
read-initializer = ["io", "futures-io/read-initializer", "futures-io/unstable"]
|
|
write-all-vectored = ["io"]
|
|
|
|
[dependencies]
|
|
futures-core = { path = "../futures-core", version = "0.3.13", default-features = false }
|
|
futures-task = { path = "../futures-task", version = "0.3.13", default-features = false }
|
|
futures-channel = { path = "../futures-channel", version = "0.3.13", default-features = false, features = ["std"], optional = true }
|
|
futures-io = { path = "../futures-io", version = "0.3.13", default-features = false, features = ["std"], optional = true }
|
|
futures-sink = { path = "../futures-sink", version = "0.3.13", default-features = false, optional = true }
|
|
futures-macro = { path = "../futures-macro", version = "=0.3.13", default-features = false, optional = true }
|
|
proc-macro-hack = { version = "0.5.19", optional = true }
|
|
proc-macro-nested = { version = "0.1.2", optional = true }
|
|
slab = { version = "0.4.2", optional = true }
|
|
memchr = { version = "2.2", optional = true }
|
|
futures_01 = { version = "0.1.25", optional = true, package = "futures" }
|
|
tokio-io = { version = "0.1.9", optional = true }
|
|
pin-utils = "0.1.0"
|
|
pin-project-lite = "0.2.4"
|
|
|
|
[dev-dependencies]
|
|
futures = { path = "../futures", features = ["async-await", "thread-pool"] }
|
|
futures-test = { path = "../futures-test" }
|
|
tokio = "0.1.11"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|