| # 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.70" |
| name = "tokio-util" |
| version = "0.7.13" |
| authors = ["Tokio Contributors <[email protected]>"] |
| build = 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"] |
| |
| [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 = "io_inspect" |
| path = "tests/io_inspect.rs" |
| |
| [[test]] |
| name = "io_reader_stream" |
| path = "tests/io_reader_stream.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_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.0.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.pin-project-lite] |
| version = "0.2.11" |
| |
| [dependencies.slab] |
| version = "0.4.4" |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1.28.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" |
| |
| [features] |
| __docs_rs = ["futures-util"] |
| codec = [] |
| compat = ["futures-io"] |
| default = [] |
| full = [ |
| "codec", |
| "compat", |
| "io-util", |
| "time", |
| "net", |
| "rt", |
| ] |
| io = [] |
| io-util = [ |
| "io", |
| "tokio/rt", |
| "tokio/io-util", |
| ] |
| net = ["tokio/net"] |
| rt = [ |
| "tokio/rt", |
| "tokio/sync", |
| "futures-util", |
| "hashbrown", |
| ] |
| time = [ |
| "tokio/time", |
| "slab", |
| ] |
| |
| [target."cfg(tokio_unstable)".dependencies.hashbrown] |
| version = "0.14.0" |
| optional = true |
| default-features = false |