287 lines
4.8 KiB
TOML
287 lines
4.8 KiB
TOML
# 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 = "2021"
|
|
rust-version = "1.71"
|
|
name = "tokio-util"
|
|
version = "0.7.18"
|
|
authors = ["Tokio Contributors <team@tokio.rs>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
Additional utilities for working with Tokio.
|
|
"""
|
|
homepage = "https://tokio.rs"
|
|
readme = "README.md"
|
|
categories = ["asynchronous"]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/tokio"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
"--cfg",
|
|
"tokio_unstable",
|
|
]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
"--cfg",
|
|
"tokio_unstable",
|
|
]
|
|
|
|
[package.metadata.playground]
|
|
features = ["full"]
|
|
|
|
[features]
|
|
__docs_rs = ["futures-util"]
|
|
codec = []
|
|
compat = ["futures-io"]
|
|
default = []
|
|
full = [
|
|
"codec",
|
|
"compat",
|
|
"io-util",
|
|
"time",
|
|
"net",
|
|
"rt",
|
|
"join-map",
|
|
]
|
|
io = []
|
|
io-util = [
|
|
"io",
|
|
"tokio/rt",
|
|
"tokio/io-util",
|
|
]
|
|
join-map = [
|
|
"rt",
|
|
"hashbrown",
|
|
]
|
|
net = ["tokio/net"]
|
|
rt = [
|
|
"tokio/rt",
|
|
"tokio/sync",
|
|
"futures-util",
|
|
]
|
|
time = [
|
|
"tokio/time",
|
|
"slab",
|
|
]
|
|
|
|
[lib]
|
|
name = "tokio_util"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "_require_full"
|
|
path = "tests/_require_full.rs"
|
|
|
|
[[test]]
|
|
name = "abort_on_drop"
|
|
path = "tests/abort_on_drop.rs"
|
|
|
|
[[test]]
|
|
name = "codecs"
|
|
path = "tests/codecs.rs"
|
|
|
|
[[test]]
|
|
name = "compat"
|
|
path = "tests/compat.rs"
|
|
|
|
[[test]]
|
|
name = "context"
|
|
path = "tests/context.rs"
|
|
|
|
[[test]]
|
|
name = "framed"
|
|
path = "tests/framed.rs"
|
|
|
|
[[test]]
|
|
name = "framed_read"
|
|
path = "tests/framed_read.rs"
|
|
|
|
[[test]]
|
|
name = "framed_stream"
|
|
path = "tests/framed_stream.rs"
|
|
|
|
[[test]]
|
|
name = "framed_write"
|
|
path = "tests/framed_write.rs"
|
|
|
|
[[test]]
|
|
name = "future"
|
|
path = "tests/future.rs"
|
|
|
|
[[test]]
|
|
name = "io_inspect"
|
|
path = "tests/io_inspect.rs"
|
|
|
|
[[test]]
|
|
name = "io_reader_stream"
|
|
path = "tests/io_reader_stream.rs"
|
|
|
|
[[test]]
|
|
name = "io_simplex"
|
|
path = "tests/io_simplex.rs"
|
|
|
|
[[test]]
|
|
name = "io_sink_writer"
|
|
path = "tests/io_sink_writer.rs"
|
|
|
|
[[test]]
|
|
name = "io_stream_reader"
|
|
path = "tests/io_stream_reader.rs"
|
|
|
|
[[test]]
|
|
name = "io_sync_bridge"
|
|
path = "tests/io_sync_bridge.rs"
|
|
|
|
[[test]]
|
|
name = "length_delimited"
|
|
path = "tests/length_delimited.rs"
|
|
|
|
[[test]]
|
|
name = "mpsc"
|
|
path = "tests/mpsc.rs"
|
|
|
|
[[test]]
|
|
name = "panic"
|
|
path = "tests/panic.rs"
|
|
|
|
[[test]]
|
|
name = "poll_semaphore"
|
|
path = "tests/poll_semaphore.rs"
|
|
|
|
[[test]]
|
|
name = "reusable_box"
|
|
path = "tests/reusable_box.rs"
|
|
|
|
[[test]]
|
|
name = "spawn_pinned"
|
|
path = "tests/spawn_pinned.rs"
|
|
|
|
[[test]]
|
|
name = "sync_cancellation_token"
|
|
path = "tests/sync_cancellation_token.rs"
|
|
|
|
[[test]]
|
|
name = "task_join_map"
|
|
path = "tests/task_join_map.rs"
|
|
|
|
[[test]]
|
|
name = "task_join_queue"
|
|
path = "tests/task_join_queue.rs"
|
|
|
|
[[test]]
|
|
name = "task_tracker"
|
|
path = "tests/task_tracker.rs"
|
|
|
|
[[test]]
|
|
name = "time_delay_queue"
|
|
path = "tests/time_delay_queue.rs"
|
|
|
|
[[test]]
|
|
name = "udp"
|
|
path = "tests/udp.rs"
|
|
|
|
[dependencies.bytes]
|
|
version = "1.5.0"
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3.0"
|
|
|
|
[dependencies.futures-io]
|
|
version = "0.3.0"
|
|
optional = true
|
|
|
|
[dependencies.futures-sink]
|
|
version = "0.3.0"
|
|
|
|
[dependencies.futures-util]
|
|
version = "0.3.0"
|
|
optional = true
|
|
|
|
[dependencies.hashbrown]
|
|
version = "0.15.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.pin-project-lite]
|
|
version = "0.2.11"
|
|
|
|
[dependencies.slab]
|
|
version = "0.4.4"
|
|
optional = true
|
|
|
|
[dependencies.tokio]
|
|
version = "1.44.0"
|
|
features = ["sync"]
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.29"
|
|
features = ["std"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.async-stream]
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies.futures]
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies.futures-test]
|
|
version = "0.3.5"
|
|
|
|
[dev-dependencies.parking_lot]
|
|
version = "0.12.0"
|
|
|
|
[dev-dependencies.tempfile]
|
|
version = "3.1.0"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.0.0"
|
|
features = ["full"]
|
|
|
|
[dev-dependencies.tokio-stream]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.tokio-test]
|
|
version = "0.4.0"
|
|
|
|
[target."cfg(loom)".dev-dependencies.loom]
|
|
version = "0.7"
|
|
features = [
|
|
"futures",
|
|
"checkpoint",
|
|
]
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(fuzzing)",
|
|
"cfg(loom)",
|
|
"cfg(mio_unsupported_force_poll_poll)",
|
|
"cfg(tokio_allow_from_blocking_fd)",
|
|
"cfg(tokio_internal_mt_counters)",
|
|
"cfg(tokio_no_parking_lot)",
|
|
"cfg(tokio_no_tuning_tests)",
|
|
"cfg(tokio_unstable)",
|
|
'cfg(target_os, values("cygwin"))',
|
|
]
|