tokio_util/task/
mod.rs

1//! Extra utilities for spawning tasks
2//!
3//! This module is only available when the `rt` feature is enabled. Note that enabling the
4//! `join-map` feature will automatically also enable the `rt` feature.
5
6cfg_rt! {
7    mod spawn_pinned;
8    pub use spawn_pinned::LocalPoolHandle;
9
10    pub mod task_tracker;
11    pub use task_tracker::TaskTracker;
12
13    mod abort_on_drop;
14    pub use abort_on_drop::AbortOnDropHandle;
15}
16
17#[cfg(feature = "join-map")]
18mod join_map;
19#[cfg(feature = "join-map")]
20#[cfg_attr(docsrs, doc(cfg(feature = "join-map")))]
21pub use join_map::{JoinMap, JoinMapKeys};