[package]
name = "tokio-util_wasi"
version = "0.7.5"
edition = "2018"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/WasmEdge/tokio"
homepage = "https://github.com/WasmEdge/tokio"
description = """
Additional utilities for working with Tokio.
"""
categories = ["asynchronous"]
[lib]
name = "tokio_util"
path = "src/lib.rs"
[features]
default = []
full = ["codec", "compat", "io-util", "time", "net", "rt"]
net = ["tokio_wasi/net"]
compat = ["futures-io",]
codec = ["tracing"]
time = ["tokio_wasi/time","slab"]
io = []
io-util = ["io", "tokio_wasi/rt", "tokio_wasi/io-util"]
rt = ["tokio_wasi/rt", "tokio_wasi/sync", "futures-util", "hashbrown"]
__docs_rs = ["futures-util"]
[dependencies]
tokio_wasi = { path = "../tokio", version = "1", features = ["sync"] }
bytes = "1.0.0"
futures-core = "0.3.0"
futures-sink = "0.3.0"
futures-io = { version = "0.3.0", optional = true }
futures-util = { version = "0.3.0", optional = true }
pin-project-lite = "0.2.0"
slab = { version = "0.4.4", optional = true }
tracing = { version = "0.1.25", default-features = false, features = ["std"], optional = true }
[target.'cfg(tokio_unstable)'.dependencies]
hashbrown = { version = "0.12.0", optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]
rustc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]