Files
tokio/tokio-util/Cargo.toml
T

60 lines
1.5 KiB
TOML
Raw Normal View History

2018-06-04 22:36:06 -05:00
[package]
2019-10-22 10:13:49 -07:00
name = "tokio-util"
2018-06-04 22:36:06 -05:00
# When releasing to crates.io:
# - Remove path dependencies
2018-06-04 22:36:06 -05:00
# - Update CHANGELOG.md.
2020-12-09 09:42:05 -08:00
# - Create "tokio-util-0.6.x" git tag.
2021-10-29 18:34:23 +02:00
version = "0.6.9"
2019-05-14 10:27:36 -07:00
edition = "2018"
2021-11-23 12:09:24 +09:00
rust-version = "1.46"
authors = ["Tokio Contributors <[email protected]>"]
2018-06-04 22:36:06 -05:00
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
2019-10-22 10:13:49 -07:00
Additional utilities for working with Tokio.
2018-06-04 22:36:06 -05:00
"""
categories = ["asynchronous"]
2019-11-22 15:55:10 -08:00
[features]
# No features on by default
default = []
# Shorthand for enabling everything
2021-10-22 12:46:29 -04:00
full = ["codec", "compat", "io-util", "time", "net", "rt"]
2019-11-22 15:55:10 -08:00
2020-11-06 10:59:15 -05:00
net = ["tokio/net"]
compat = ["futures-io",]
codec = []
2020-10-05 14:25:04 -07:00
time = ["tokio/time","slab"]
io = []
2021-10-22 12:46:29 -04:00
io-util = ["io", "tokio/rt", "tokio/io-util"]
2020-10-13 06:13:23 +09:00
rt = ["tokio/rt"]
2019-11-22 15:55:10 -08:00
__docs_rs = ["futures-util"]
2018-06-04 22:36:06 -05:00
[dependencies]
tokio = { version = "1.0.0", path = "../tokio", features = ["sync"] }
2020-12-22 19:09:26 -06:00
bytes = "1.0.0"
2019-11-07 05:09:10 +09:00
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 }
2019-06-27 18:10:29 +01:00
log = "0.4"
pin-project-lite = "0.2.0"
2020-10-05 14:25:04 -07:00
slab = { version = "0.4.1", optional = true } # Backs `DelayQueue`
2019-06-27 18:10:29 +01:00
[dev-dependencies]
tokio = { version = "1.0.0", path = "../tokio", features = ["full"] }
tokio-test = { version = "0.4.0", path = "../tokio-test" }
tokio-stream = { version = "0.1", path = "../tokio-stream" }
async-stream = "0.3.0"
futures = "0.3.0"
futures-test = "0.3.5"
[package.metadata.docs.rs]
all-features = true
2019-11-22 15:55:10 -08:00
rustdoc-args = ["--cfg", "docsrs"]